-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 4.1.2
-
Component/s: System Administration - Global Permissions
-
4.01
Should read "must be a" not "must a". Only reported because it can make it out to a log file.
public boolean hasPermission(final int permissionsId, final User user)
{
final long start = System.currentTimeMillis();
try
{
if (!isGlobalPermission(permissionsId))
{
throw new IllegalArgumentException("PermissionType passed to this function must a global permission, " + permissionsId + " is not");
}