move revision history of users to be accessed only by site admins
This commit is contained in:
parent
16f294f3e8
commit
590c3a91ea
2 changed files with 465 additions and 437 deletions
|
|
@ -167,7 +167,6 @@ class AdminAbility
|
|||
role.resource_type == 'Track' && (track_ids.include? role.resource_id)
|
||||
end
|
||||
|
||||
can [:index, :revert_object, :revert_attribute], PaperTrail::Version, item_type: 'User'
|
||||
can [:index, :revert_object, :revert_attribute], PaperTrail::Version, conference_id: conf_ids
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue