code: public CmsPermissionSet getPermissions(String resourceName) throws CmsException {
  
          return getPermissions(resourceName, m_context.getCurrentUser().getName());
      }
docs: Returns the set of permissions of the current user for a given resource.<p>
  
  @param resourceName the name of the resource
  
  @return the bit set of the permissions of the current user
  
  @throws CmsException if something goes wrong