| Package | Description |
|---|---|
| com.threerings.crowd.chat.data | |
| com.threerings.presents.data | |
| com.threerings.presents.server |
| Modifier and Type | Field and Description |
|---|---|
static Permission |
ChatCodes.BROADCAST_ACCESS
The access control identifier for broadcast chat privileges.
|
static Permission |
ChatCodes.CHAT_ACCESS
The access control identifier for normal chat privileges.
|
| Modifier and Type | Method and Description |
|---|---|
String |
ClientObject.checkAccess(Permission perm)
A version of
ClientObject.checkAccess(Permission,Object) that provides no context. |
String |
ClientObject.checkAccess(Permission perm,
Object context)
Checks whether or not this client has the specified permission.
|
boolean |
ClientObject.hasAccess(Permission perm)
Convenience wrapper around
ClientObject.checkAccess(Permission) that simply returns a boolean
indicating whether or not this client has the permission rather than an explanation. |
boolean |
ClientObject.hasAccess(Permission perm,
Object context)
Convenience wrapper around
ClientObject.checkAccess(Permission,Object) that simply returns a
boolean indicating whether or not this client has the permission rather than an explanation. |
| Modifier and Type | Method and Description |
|---|---|
static void |
InvocationException.requireAccess(ClientObject clobj,
Permission perm)
A version of
InvocationException.requireAccess(ClientObject,Permission,Object) that takes no context. |
static void |
InvocationException.requireAccess(ClientObject clobj,
Permission perm,
Object context)
Requires that the specified client have the specified permissions.
|
Copyright © 2015. All rights reserved.