Project

General

Profile

« Previous | Next » 

Revision 5742

Added by berkley over 13 years ago

fixed bug where comparisons didn't work because of my change this morning

View differences:

PermissionController.java
119 119
  {
120 120
    boolean hasPermission=false;
121 121
    String [] userPackage=null;
122
    int permission =AccessControlList.intValue(myPermission);
122
    int permission = AccessControlList.intValue(myPermission);
123 123

  
124 124
    //for the commnad line invocation
125 125
    if ((user==null) && (groups==null || groups.length==0))
......
140 140
    }//if
141 141
    else //in other situation, just check the request permission
142 142
    {
143

  
144

  
145 143
      // Check for @permission on @docid for @user and/or @groups
146 144
      hasPermission = hasPermission(userPackage,docId, permission);
147

  
148 145
    }//else
149 146

  
150 147
    return hasPermission;

Also available in: Unified diff