Reorganized basic permissions handling to be more cleanly extensible.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3375 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -75,6 +75,17 @@ public class BodyObject extends ClientObject
|
||||
*/
|
||||
public String awayMessage;
|
||||
|
||||
/**
|
||||
* Checks whether or not this user has access to the specified
|
||||
* feature. Currently used by the chat system to regulate access to
|
||||
* chat broadcasts but also forms the basis of an extensible
|
||||
* fine-grained permissions system.
|
||||
*/
|
||||
public boolean checkAccess (String feature, Object context)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
// documentation inherited
|
||||
public void applyToListeners (ListenerOp op)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user