Ejemplo n.º 1
0
 public EvaluationManageFeature() : base(new List <Role> {
     Role.Admin, Role.SitkaAdmin
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <Evaluation>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
Ejemplo n.º 2
0
 public ActionItemViewFeature() : base(new List <Role> {
     Role.SitkaAdmin, Role.Admin, Role.ProjectSteward, Role.Normal
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <Project>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 5
0
 public FundingSourceDeleteFeature() : base(new List <Role> {
     Role.Admin, Role.SitkaAdmin
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <FundingSource>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 17
0
 public ProjectImageUpdateNewFeature()
     : base(new List <Role> {
     Role.Normal, Role.SitkaAdmin, Role.Admin, Role.ProjectSteward
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <ProjectUpdateBatch>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 20
0
 public FirmaImpersonateUserFeature()
     : base(new List <Role> {
     Role.SitkaAdmin
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <Person>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 23
0
 public GrantAllocationManageFileResourceAsAdminFeature()
     : base(new List <Role> {
     Role.SitkaAdmin, Role.Admin
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <GrantAllocationFileResource>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
Ejemplo n.º 24
0
 public TaxonomyTierPerformanceMeasureManageFeature()
     : base(new List <Role> {
     Role.SitkaAdmin, Role.Admin
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <PerformanceMeasure>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 27
0
 public GrantAllocationAwardContractorInvoiceItemDeleteFeature()
     : base(new List <Role> {
     Role.SitkaAdmin, Role.Admin
 })
 {
     _firmaFeatureWithContextImpl = new FirmaFeatureWithContextImpl <GrantAllocationAwardContractorInvoice>(this);
     ActionFilter = _firmaFeatureWithContextImpl;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }