Grant permission to read, revert organization_admin version
Without this permission, organization administrators can't see the history of changes to the organization administrator role on the Revision History screen.
This commit is contained in:
parent
4dd15d6120
commit
150bbef61f
1 changed files with 2 additions and 0 deletions
|
|
@ -99,6 +99,8 @@ class AdminAbility
|
|||
can :manage, Conference, organization_id: org_ids_for_organization_admin
|
||||
can [:index, :show], Role
|
||||
|
||||
can [:index, :revert_object, :revert_attribute], PaperTrail::Version, organization_id: org_ids_for_organization_admin
|
||||
|
||||
signed_in_with_organizer_role(user, conf_ids_for_organization_admin)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue