C# Class ScrewTurn.Wiki.PermissionsManager

Inheritance: System.Web.UI.UserControl
Afficher le fichier Open project: mono/ScrewTurnWiki

Protected Properties

Свойство Type Description
aclActionsSelector global::ScrewTurn.Wiki.AclActionsSelector
btnAdd global::Anthem.Button
btnRemove global::Anthem.Button
btnSave global::Anthem.Button
btnSearch global::Anthem.Button
lblAddResult global::Anthem.Label
lblPermissionsFor global::System.Web.UI.WebControls.Literal
lblSaveResult global::Anthem.Label
lblSelectedSubject global::System.Web.UI.WebControls.Literal
lblSubjects global::System.Web.UI.WebControls.Literal
lstFoundSubjects global::Anthem.DropDownList
lstSubjects global::Anthem.ListBox
txtNewSubject global::Anthem.TextBox

Méthodes protégées

Méthode Description
Page_Load ( object sender, EventArgs e ) : void
btnAdd_Click ( object sender, EventArgs e ) : void
btnRemove_Click ( object sender, EventArgs e ) : void
btnSave_Click ( object sender, EventArgs e ) : void
btnSearch_Click ( object sender, EventArgs e ) : void
lstSubjects_SelectedIndexChanged ( object sender, EventArgs e ) : void

Private Methods

Méthode Description
AddAclEntriesForDirectory ( string subject, IFilesStorageProviderV30 provider, string directory, string grants, string denials ) : bool

Adds some ACL entries for a subject.

AddAclEntriesForNamespace ( string subject, string nspace, string grants, string denials ) : bool

Adds some ACL entries for a subject.

AddAclEntriesForPage ( string subject, string page, string grants, string denials ) : bool

Adds some ACL entries for a subject.

ClearPermissions ( ) : void

Clears the actions matrix.

DisplaySubjectPermissions ( string subject, SubjectType type ) : void

Displays the permissions for a subject in the actions matrix.

GetSubjects ( ) : ScrewTurn.Wiki.SubjectInfo[]

Gets the subjects for the current resource.

IsAlreadyPresent ( string subject, SubjectType type, SubjectInfo allSubjects ) : bool

Determines whether a subject is already in a list.

PopulateSubjectsList ( ) : void

Populates the subjects list.

RemoveAllAclEntriesForDirectory ( string subject, IFilesStorageProviderV30 provider, string directory ) : bool

Removes all the ACL entries for a subject.

RemoveAllAclEntriesForNamespace ( string subject, string nspace ) : bool

Removes all the ACL entries for a subject.

RemoveAllAclEntriesForPage ( string subject, string page ) : bool

Removes all the ACL entries for a subject.

Method Details

Page_Load() protected méthode

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

btnAdd_Click() protected méthode

protected btnAdd_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

btnRemove_Click() protected méthode

protected btnRemove_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

btnSave_Click() protected méthode

protected btnSave_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

btnSearch_Click() protected méthode

protected btnSearch_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

lstSubjects_SelectedIndexChanged() protected méthode

protected lstSubjects_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

Property Details

aclActionsSelector protected_oe property

aclActionsSelector control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::ScrewTurn.Wiki.AclActionsSelector aclActionsSelector
Résultat global::ScrewTurn.Wiki.AclActionsSelector

btnAdd protected_oe property

btnAdd control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.Button btnAdd
Résultat global::Anthem.Button

btnRemove protected_oe property

btnRemove control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.Button btnRemove
Résultat global::Anthem.Button

btnSave protected_oe property

btnSave control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.Button btnSave
Résultat global::Anthem.Button

btnSearch protected_oe property

btnSearch control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.Button btnSearch
Résultat global::Anthem.Button

lblAddResult protected_oe property

lblAddResult control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.Label lblAddResult
Résultat global::Anthem.Label

lblPermissionsFor protected_oe property

lblPermissionsFor control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblPermissionsFor
Résultat global::System.Web.UI.WebControls.Literal

lblSaveResult protected_oe property

lblSaveResult control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.Label lblSaveResult
Résultat global::Anthem.Label

lblSelectedSubject protected_oe property

lblSelectedSubject control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblSelectedSubject
Résultat global::System.Web.UI.WebControls.Literal

lblSubjects protected_oe property

lblSubjects control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblSubjects
Résultat global::System.Web.UI.WebControls.Literal

lstFoundSubjects protected_oe property

lstFoundSubjects control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.DropDownList lstFoundSubjects
Résultat global::Anthem.DropDownList

lstSubjects protected_oe property

lstSubjects control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.ListBox lstSubjects
Résultat global::Anthem.ListBox

txtNewSubject protected_oe property

txtNewSubject control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.TextBox txtNewSubject
Résultat global::Anthem.TextBox