示例#1
0
 public EvaluationManageFeature() : base(new List <Role> {
     Role.Admin, Role.SitkaAdmin
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <Evaluation>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
示例#2
0
 public ActionItemViewFeature() : base(new List <Role> {
     Role.SitkaAdmin, Role.Admin, Role.ProjectSteward, Role.Normal
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <Project>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
示例#3
0
 public FundingSourceCustomAttributeEditFeature() : base(new List <Role> {
     Role.Admin, Role.SitkaAdmin, Role.ProjectSteward
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <FundingSource>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
 public ReportTemplateManageFeature() : base(new List <Role> {
     Role.Admin, Role.SitkaAdmin
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <ReportTemplate>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
示例#5
0
 public FundingSourceDeleteFeature() : base(new List <Role> {
     Role.Admin, Role.SitkaAdmin
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <FundingSource>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
示例#6
0
 public ProjectTimelineFeature() : base(new List <Role> {
     Role.SitkaAdmin, Role.Admin, Role.ProjectSteward, Role.Normal
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureForProject(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
 public PriorityLandscapeManageFileResourceAsAdminFeature() : base(new List <Role> {
     Role.SitkaAdmin, Role.Admin
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <PriorityLandscapeFileResource>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
示例#8
0
 public CustomPageManageFeature()
     : base(new List <Role> {
     Role.Admin, Role.SitkaAdmin
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <CustomPage>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
 public GrantEditAsAdminFeature()
     : base(new List <Role> {
     Role.SitkaAdmin, Role.Admin
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <Grant>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
示例#10
0
 public UserEditBasicsFeature()
     : base(new List <Role> {
     Role.SitkaAdmin, Role.Admin, Role.Normal, Role.ProjectSteward
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <Person>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
 public GrantAllocationAwardLandownerCostShareLineItemEditAsAdminFeature()
     : base(new List <Role> {
     Role.SitkaAdmin, Role.Admin, Role.ProjectSteward
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <GrantAllocationAwardLandownerCostShareLineItem>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
示例#12
0
 public ProjectUpdateAdminFeatureWithProjectContext()
     : base(new List <Role> {
     Role.SitkaAdmin, Role.Admin, Role.ProjectSteward
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <Project>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
 public ProjectDeleteFeature()
     : base(new List <Role> {
     Role.SitkaAdmin, Role.Admin
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <Project>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
 public ProjectImageEditOrDeleteFeature()
     : base(new List <Role> {
     Role.Normal, Role.SitkaAdmin, Role.Admin, Role.ProjectSteward
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <ProjectImage>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
示例#15
0
 public OrganizationProfileViewEditFeature()
     : base(new List <Role> {
     Role.Normal, Role.SitkaAdmin, Role.Admin, Role.ProjectSteward
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <Organization>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
 public GrantAllocationEditAsAdminFeature()
     : base(new List <Role> {
     Role.SitkaAdmin, Role.Admin, Role.ProjectSteward
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <GrantAllocation>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
示例#17
0
 public ProjectImageUpdateNewFeature()
     : base(new List <Role> {
     Role.Normal, Role.SitkaAdmin, Role.Admin, Role.ProjectSteward
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <ProjectUpdateBatch>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
示例#18
0
 public ProjectEditAsAdminFeature()
     : base(new List <Role> {
     Role.SitkaAdmin, Role.Admin, Role.ProjectSteward, Role.ProgramEditor
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <Project>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
 public CustomPageViewFeature()
     : base(new List <Role> {
     Role.Unassigned, Role.Normal, Role.SitkaAdmin, Role.Admin, Role.ProjectSteward
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <CustomPage>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
示例#20
0
 public FirmaImpersonateUserFeature()
     : base(new List <Role> {
     Role.SitkaAdmin
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <Person>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
示例#21
0
 public ProjectNoteManageAsAdminFeature()
     : base(new List <Role> {
     Role.Normal, Role.SitkaAdmin, Role.Admin, Role.ProjectSteward
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <ProjectNote>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
 public GrantAllocationDeleteFeature()
     : base(new List <Role> {
     Role.SitkaAdmin, Role.Admin
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <GrantAllocation>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
示例#23
0
 public GrantAllocationManageFileResourceAsAdminFeature()
     : base(new List <Role> {
     Role.SitkaAdmin, Role.Admin
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <GrantAllocationFileResource>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
示例#24
0
 public TaxonomyTierPerformanceMeasureManageFeature()
     : base(new List <Role> {
     Role.SitkaAdmin, Role.Admin
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <PerformanceMeasure>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
示例#25
0
 public GrantAllocationAwardPersonnelAndBenefitsLineItemEditAsAdminFeature()
     : base(new List <Role> {
     Role.SitkaAdmin, Role.Admin, Role.ProjectSteward
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <GrantAllocationAwardPersonnelAndBenefitsLineItem>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
 public ProjectDocumentUpdateEditFeature()
     : base(new List <Role> {
     Role.Normal, Role.SitkaAdmin, Role.Admin, Role.ProjectSteward
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <ProjectDocumentUpdate>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
示例#27
0
 public GrantAllocationAwardContractorInvoiceItemDeleteFeature()
     : base(new List <Role> {
     Role.SitkaAdmin, Role.Admin
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <GrantAllocationAwardContractorInvoice>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
示例#28
0
 public ProjectEditAsAdminRegardlessOfStageFeature()
     : base(new List <Role> {
     Role.SitkaAdmin, Role.Admin, Role.ProjectSteward
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <Project>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
 public InvoiceEditFeature()
     : base(new List <Role> {
     Role.SitkaAdmin, Role.Admin, Role.ProjectSteward
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <Invoice>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
示例#30
0
 public FirmaImpersonateUserFeature()
 // On Reclamation, we allow plain Admins to impersonate on QA.
     : base(new List <Role> {
     Role.SitkaAdmin, Role.Admin
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <Person>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }