Skip to content

Commit

Permalink
[Add] Removing unnecessary permissions by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mori01231 committed Aug 16, 2020
1 parent fefd8f7 commit d2e48f9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,10 @@ else if(!args[1].equalsIgnoreCase("all")){

public void createGroups(String groupName){
sendCommand("lp creategroup " + groupName);
sendCommand("lp g " + groupName + " permission set aziswitch.* false");
sendCommand("lp g " + groupName + " permission set aziswitch.is" + groupName + " true");
sendCommand("lp creategroup switch" + groupName);
sendCommand("lp g switch" + groupName + " permission set aziswitch.* false");
sendCommand("lp g switch" + groupName + " permission set aziswitch.switch" + groupName + " true");
}

Expand Down

0 comments on commit d2e48f9

Please sign in to comment.