Skip to content

Commit

Permalink
Aligning with the permissions notation from the migration script
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-odysseus committed Jan 8, 2025
1 parent 4fd6380 commit fdf2d79
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
public class ToolPermissionSchema extends EntityPermissionSchema {
private static Map<String, String> writePermissions = new HashMap<String, String>() {{
put("tool:%s:delete", "Delete Tool with id = %s");
put("tool:%s:put", "Update Tool with id = %s");
put("tool:%s:post", "Create Tool with id = %s");
put("tool:put", "Update a Tool");
put("tool:post", "Create a Tool");
}};
private static Map<String, String> readPermissions = new HashMap<String, String>() {
{
Expand Down

0 comments on commit fdf2d79

Please sign in to comment.