Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Side bar will show items without permission #95

Open
yottanami opened this issue Nov 15, 2016 · 0 comments
Open

Side bar will show items without permission #95

yottanami opened this issue Nov 15, 2016 · 0 comments

Comments

@yottanami
Copy link
Member

yottanami commented Nov 15, 2016

Faalis just tried to check permission of built-in menu items. and does not care about generated resources. and will show the header menu of resources without permission.

As I checked @model is nil in this line for none built-in items
https://github.com/Yellowen/Faalis/blob/master/lib/faalis/dashboard/models/sidebar.rb#L12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant