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

Working with CanCan #12

Open
SuperMasterBlasterLaser opened this issue Aug 9, 2015 · 0 comments
Open

Working with CanCan #12

SuperMasterBlasterLaser opened this issue Aug 9, 2015 · 0 comments

Comments

@SuperMasterBlasterLaser
Copy link

When I integrated your gem to my rails_admin, it shows graph of models which were created on specific day.

I have two types of users which can log in to my admin page. Admin who manage all data and simple users who can manage their own data.

When simple user logs in, because of cancan, user can see and manage only his own data. There is problem with your charts. It shows in graph ALL data which does not belongs to him.

How to make graphs to work with CanCan?

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