Skip to content

Commit

Permalink
API permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
veniware committed Oct 2, 2024
1 parent a89c826 commit 2f3254c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Protest/Front/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Api extends List {
}

UpdateAuthorization() { //overrides
this.canWrite = KEEP.authorization.includes("*") || KEEP.authorization.includes("api:write");
this.canWrite = KEEP.authorization.includes("*") || KEEP.authorization.includes("api links:write");
this.createButton.disabled = !this.canWrite;
this.deleteButton.disabled = !this.canWrite;
super.UpdateAuthorization();
Expand Down

0 comments on commit 2f3254c

Please sign in to comment.