-
Notifications
You must be signed in to change notification settings - Fork 22
feature/946 Setup cancancan #965
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
base: master
Are you sure you want to change the base?
Conversation
4699d7b to
7bd4607
Compare
ManuelMoeri
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Only found two small things.
387c0e8 to
0532487
Compare
0532487 to
83da19f
Compare
83da19f to
e17dbd2
Compare
…ble by conf_admins
e17dbd2 to
48ebd8e
Compare
Robin481
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking quite good.
One thing I've noticed is that deletion of inactive profiles via the admin interface does not validate if a person is allowed to do this or not.
Since we don't use the standard CrudController method here:
| def destroy_person |
This method could probably call
super and then do our custom logic and it would work as expected.Can you please have a look at this special case and also comb through the code if you find other places where we don't use the default methods?
No description provided.