• 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
role_policy.rb 546 Bytes