• hellekin's avatar
    Fix Map and Role policies · b9989e68
    hellekin authored
    - Add policy scope to Maps controller
    - Alias current_agent.current_agent_is_incommon? to
      current_agent.is_incommon?
    - Fix RolePolicy:
      - Rename RolesPolicy to RolePolicy
      - Inherit from ApplicationScope
      - Set scope resolution to:
        - allow managing all roles to IN COMMON Agent leader
        - allow managing Agent roles to Agent leader
        - allow viewing self roles
    b9989e68
Name
Last commit
Last update
..
agents_controller.rb Loading commit data...
categories_controller.rb Loading commit data...
collections_controller.rb Loading commit data...
maps_controller.rb Loading commit data...
resources_controller.rb Loading commit data...
roles_controller.rb Loading commit data...
sections_controller.rb Loading commit data...
taxonomies_controller.rb Loading commit data...
users_controller.rb Loading commit data...