Skip to content

Commit

Permalink
object access control
Browse files Browse the repository at this point in the history
  • Loading branch information
gennartn committed May 5, 2022
1 parent a9f9235 commit 00cd207
Showing 1 changed file with 13 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -284,13 +284,19 @@ export default {
})
let accessControl;
accessControl = {
userAccessControlSet:{
name: "nico",
roles: ["role1", "role2"],
groups: ["group1"]
},
groups: ["group1", "group2"],
roles: ["role1","role2","role3"]
userAccessControlSet:[
{
name: "nico",
roles: ["role1", "role2"],
groups: ["group1"]
},
{
name: "nico2",
roles: ["role1", "role2"],
groups: ["group1"]
}],
groups: [{group: "group1", roles:["role1", "role2"]}, {group:["role3"], roles:["role1","role2"]}],
roles: [{role:"role1", items:["item1,item2"]},{role:"role2", items:["item3,item4"]},{role:"role3", items:["item3,item2"]}]
}
//application/json
this.$oh.api.put('/rest/accessControl/put',{}).then((data) => {
Expand Down

0 comments on commit 00cd207

Please sign in to comment.