C# Class Warehouse.OrganizationPermission

Inheritance: ResourcePermission
显示文件 Open project: Starcounter/Warehouse

Public Properties

Property Type Description
Organization Organization

Public Methods

Method Description
Check ( Simplified.Ring3.SystemUser user, ActionType action ) : bool

Check is user has permission to invoke action

Check ( Simplified.Ring3.SystemUser user, ActionType action, Organization organization ) : bool

Check is user has permission to invoke action on organization

RegisterHooks ( ) : void

Method Details

Check() public static method

Check is user has permission to invoke action
public static Check ( Simplified.Ring3.SystemUser user, ActionType action ) : bool
user Simplified.Ring3.SystemUser
action ActionType
return bool

Check() public static method

Check is user has permission to invoke action on organization
public static Check ( Simplified.Ring3.SystemUser user, ActionType action, Organization organization ) : bool
user Simplified.Ring3.SystemUser
action ActionType
organization Organization
return bool

RegisterHooks() public static method

public static RegisterHooks ( ) : void
return void

Property Details

Organization public_oe property

public Organization,Warehouse Organization
return Organization