Skip to content

Commit

Permalink
migrate_auth.php: service_view_all grants traps_view_all
Browse files Browse the repository at this point in the history
The previous logic in Trapper only checked for service_view_all. When we
added the new right traps_view_all, we are (at least initially) looking
for "either of those rights". In the long term, traps_view_all is what
we should look for, but rights-wise, they are currently the same.

This is part of MON-9718.

Signed-off-by: Carl Helmertz <chelmertz@op5.com>
  • Loading branch information
Carl Helmertz committed Oct 24, 2016
1 parent 72f1c44 commit 51198b7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion etc/auth.yml
Expand Up @@ -5,6 +5,6 @@ common:
apc_enabled: false
apc_ttl: 60
apc_store_prefix: "op5_login_"
version: 7
version: 8
Default:
driver: "Default"
5 changes: 5 additions & 0 deletions install_scripts/migrate_auth.php
Expand Up @@ -79,6 +79,11 @@
'dashboard_share',
)
),
7 => array(
'service_view_all' => array(
'traps_view_all',
)
),
);


Expand Down

0 comments on commit 51198b7

Please sign in to comment.