You've already forked nginx-proxy-manager
							
							
				mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-30 18:05:34 +03:00 
			
		
		
		
	Notification toasts, nicer loading, add new user support
This commit is contained in:
		| @@ -337,11 +337,11 @@ const internalUser = { | ||||
| 	 * @param   {Integer} [id_requested] | ||||
| 	 * @returns {[String]} | ||||
| 	 */ | ||||
| 	getUserOmisionsByAccess: (access, id_requested) => { | ||||
| 	getUserOmisionsByAccess: (access, idRequested) => { | ||||
| 		let response = []; // Admin response | ||||
|  | ||||
| 		if (!access.token.hasScope("admin") && access.token.getUserId(0) !== id_requested) { | ||||
| 			response = ["roles", "is_deleted"]; // Restricted response | ||||
| 		if (!access.token.hasScope("admin") && access.token.getUserId(0) !== idRequested) { | ||||
| 			response = ["is_deleted"]; // Restricted response | ||||
| 		} | ||||
|  | ||||
| 		return response; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user