Метод | Описание | |
---|---|---|
AccessValidatorService ( IRepository |
||
CheckEditAccess ( string loginId, Project project ) : System.Web.Mvc.RedirectToRouteResult | ||
CheckReadAccess ( string loginId, Project project ) : System.Web.Mvc.RedirectToRouteResult | ||
GetWorkgroupsByUser ( string loginId ) : IEnumerable |
Returns a user's list of workgroups
|
|
HasAccess ( string loginId, Project project ) : AccessLevel | ||
HasAccess ( string loginId, Workgroup workgroup ) : bool |
public AccessValidatorService ( IRepository |
||
workerRepository | IRepository |
|
Результат | System |
public CheckEditAccess ( string loginId, Project project ) : System.Web.Mvc.RedirectToRouteResult | ||
loginId | string | |
project | Project | |
Результат | System.Web.Mvc.RedirectToRouteResult |
public CheckReadAccess ( string loginId, Project project ) : System.Web.Mvc.RedirectToRouteResult | ||
loginId | string | |
project | Project | |
Результат | System.Web.Mvc.RedirectToRouteResult |
public GetWorkgroupsByUser ( string loginId ) : IEnumerable |
||
loginId | string | |
Результат | IEnumerable |
public HasAccess ( string loginId, Project project ) : AccessLevel | ||
loginId | string | |
project | Project | |
Результат | AccessLevel |
public HasAccess ( string loginId, Workgroup workgroup ) : bool | ||
loginId | string | |
workgroup | Workgroup | |
Результат | bool |