Sometimes my mind drifts away and forgets that I live in a world where I have
to write everything in two languages, and now have to take special care that things written in one of those languages works properly in a wholly separate and somewhat limited deployment environment. Ah such sweet forgetting. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5119 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -61,24 +61,24 @@ public class ClientObject extends DObject
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks whether or not this client has access to the specified feature.
|
||||
* Checks whether or not this client has the specified permission.
|
||||
*
|
||||
* @return null if the user has access, a fully-qualified translatable message string
|
||||
* indicating the reason for denial of access.
|
||||
*
|
||||
* @see PermissionPolicy
|
||||
*/
|
||||
public String checkAccess (Permission feature, Object context)
|
||||
public String checkAccess (Permission perm, Object context)
|
||||
{
|
||||
return _permPolicy.checkAccess(this, feature, context);
|
||||
return _permPolicy.checkAccess(this, perm, context);
|
||||
}
|
||||
|
||||
/**
|
||||
* A version of {@link #checkAccess(Permission,Object} that provides no context.
|
||||
*/
|
||||
public String checkAccess (Permission feature)
|
||||
public String checkAccess (Permission perm)
|
||||
{
|
||||
return checkAccess(feature, null);
|
||||
return checkAccess(perm, null);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user