Ejemplo n.º 1
0
 /// <summary>
 /// Override to perform access level checks per user's AccessLevel instance.
 /// True if  accessLevel satisfies permission requirements.
 /// The default implementation checks the access.Level
 /// </summary>
 protected virtual bool DoCheckAccessLevel(ISession session, AccessLevel access)
 {
     return access.Level >= m_Level;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Override to perform access level checks per user's AccessLevel instance.
 /// True if  accessLevel satisfies permission requirements.
 /// The default implementation checks the access.Level
 /// </summary>
 protected virtual bool DoCheckAccessLevel(ISession session, AccessLevel access)
 {
     return(access.Level >= m_Level);
 }