mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
Implement hasPermission().
This commit is contained in:
@@ -102,10 +102,7 @@ public class SimpleUser extends AbstractUser {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean hasPermission(Permission permission) throws GuacamoleException {
|
public boolean hasPermission(Permission permission) throws GuacamoleException {
|
||||||
|
return permissions.contains(permission);
|
||||||
/* FIXME: STUB! */
|
|
||||||
throw new UnsupportedOperationException("Not supported yet.");
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Reference in New Issue
Block a user