Implement hasPermission().

This commit is contained in:
Michael Jumper
2013-01-30 23:25:46 -08:00
parent e37d0eb1c9
commit 8dc7a25977

View File

@@ -102,10 +102,7 @@ public class SimpleUser extends AbstractUser {
@Override
public boolean hasPermission(Permission permission) throws GuacamoleException {
/* FIXME: STUB! */
throw new UnsupportedOperationException("Not supported yet.");
return permissions.contains(permission);
}
@Override