Skip to content

Commit

Permalink
Add rulesets for grantAgentAccess and removeAgentAccess
Browse files Browse the repository at this point in the history
  • Loading branch information
helamanl0424 authored Mar 14, 2024
1 parent a2a8d48 commit bf96494
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pods_test.krl
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,16 @@ ruleset pods_test {
select when test remove_folder
pods:removeFolder(event:attrs.get("containerURL"))
}

rule test_grant_agent_access {
select when test grant_agent_access
pods:grantAgentAccess(event:attrs.get("resourceURL"), event:attrs.get("webID"))
}

rule test_remove_agent_access {
select when test remove_agent_access
pods:removeAgentAccess(event:attrs.get("resourceURL"), event:attrs.get("webID"))
}

rule test_grant_access {
select when test grant_access
Expand Down

0 comments on commit bf96494

Please sign in to comment.