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:
Michael Bayne
2008-05-22 14:12:10 +00:00
parent 591dc1541a
commit da9d8701c2
8 changed files with 171 additions and 32 deletions
@@ -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);
}
/**