Implement hasPermission().
This commit is contained in:
1 parent
e37d0eb1c9
commit
8dc7a25977
1 file changed
+1
-4
+1
-4
@@ -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