Skip to content

Commit

Permalink
Improved action properties.
Browse files Browse the repository at this point in the history
  • Loading branch information
petersirka committed Dec 10, 2024
1 parent d57b274 commit 30ebfa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builders.js
Original file line number Diff line number Diff line change
Expand Up @@ -1339,7 +1339,7 @@ ActionCaller.prototype.exec = function() {
}
}

if (action.sa) {
if (action.sa || action.su) {
if (!$.user || (!$.user.sa && !$.user.su)) {
$.invalid(401);
return;
Expand Down

0 comments on commit 30ebfa1

Please sign in to comment.