• 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
app Loading commit data...
bin Loading commit data...
config Loading commit data...
coverage Loading commit data...
db/migrate Loading commit data...
doc Loading commit data...
lib/tasks Loading commit data...
log Loading commit data...
public Loading commit data...
spec Loading commit data...
test Loading commit data...
tmp Loading commit data...
vendor Loading commit data...
.erdconfig Loading commit data...
.gemrc Loading commit data...
.gitignore Loading commit data...
.rspec Loading commit data...
.rubocop.yml Loading commit data...
.ruby-version Loading commit data...
Gemfile Loading commit data...
Gemfile.lock Loading commit data...
Guardfile Loading commit data...
LICENSE.md Loading commit data...
README.md Loading commit data...
Rakefile Loading commit data...
config.ru Loading commit data...