Merge branch 'rework-options' of https://github.com/copumpkin/nix
This commit is contained in:
		
						commit
						1860070548
					
				
					 11 changed files with 222 additions and 93 deletions
				
			
		|  | @ -878,8 +878,8 @@ static void daemonLoop(char * * argv) | |||
|             struct group * gr = peer.gidKnown ? getgrgid(peer.gid) : 0; | ||||
|             string group = gr ? gr->gr_name : std::to_string(peer.gid); | ||||
| 
 | ||||
|             Strings trustedUsers = settings.get("trusted-users", Strings({"root"})); | ||||
|             Strings allowedUsers = settings.get("allowed-users", Strings({"*"})); | ||||
|             Strings trustedUsers = settings.trustedUsers; | ||||
|             Strings allowedUsers = settings.allowedUsers; | ||||
| 
 | ||||
|             if (matchUser(user, group, trustedUsers)) | ||||
|                 trusted = true; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue