Skip to content

Commit 07423cb

Browse files
committed
Adding storage.modify to write permissions.
Fixes #27
1 parent 6e293ad commit 07423cb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/scitokens_internal.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,8 @@ scitokens::Enforcer::scope_validator(const jwt::claim &claim, void *myself) {
586586
authz = "read";
587587
} else if (authz == "storage.write") {
588588
authz = "write";
589+
} else if (authz == "storage.modify") {
590+
authz = "write";
589591
} else if (authz == "compute.read") {
590592
authz = "condor:/READ";
591593
} else if (authz == "compute.modify") {

0 commit comments

Comments
 (0)