• 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
    - 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
current_agent.rb 2.05 KB