Skip to content

Commit

Permalink
Merge pull request #80 from dojot/iss1086-1087
Browse files Browse the repository at this point in the history
fix: Remove the all_export and ro_import permission
  • Loading branch information
mprevide committed Apr 17, 2019
2 parents 95e7772 + e33dc66 commit 902318b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions auth/initialConf.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,8 @@ def create_permissions():
permission_dict_helper('ro_ca', "/ca/(.*)", "GET"),
permission_dict_helper('wo_sign', "/sign/(.*)", "POST"),
permission_dict_helper('ro_socketio', "/stream/socketio/", "GET"),
permission_dict_helper('ro_import', "/import/(.*)", "GET"),
permission_dict_helper('all_import', "/import/(.*)", "(.*)"),
permission_dict_helper('ro_export', "/export/(.*)", "GET"),
permission_dict_helper('all_export', "/export/(.*)", "(.*)"),
permission_dict_helper('ro_image', "/fw-image/(.*)", "GET"),
permission_dict_helper('all_image', "/fw-image/(.*)", "(.*)")
]
Expand Down Expand Up @@ -166,7 +164,7 @@ def add_permissions_group():
'wo_sign',
"ro_socketio",
"all_import",
"all_export",
"ro_export",
"all_image"
]
}
Expand Down
2 changes: 1 addition & 1 deletion tests/initialConfTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def add_permissions_group():
'wo_sign',
"ro_socketio",
"all_import",
"all_export",
"ro_export",
"all_image"
]
}
Expand Down

0 comments on commit 902318b

Please sign in to comment.