protected override void BindPermissions(PermissionBuilder required)
 {
     required.Add(PermissionCategory.SPIN_TAXON, PERMISSION_MASK.INSERT);
     if (Taxon.Parent != null && Taxon.Parent.ObjectID.HasValue && Taxon.Parent.ObjectID > 0)
     {
         required.AddBiota(Taxon.Parent.ObjectID.Value, PERMISSION_MASK.INSERT);
     }
 }
 protected override void BindPermissions(PermissionBuilder required)
 {
     required.Add(PermissionCategory.SPIN_TAXON, PERMISSION_MASK.UPDATE);
     // don't need biota permission to update a new item...
     if (!_isNew)
     {
         required.AddBiota(Taxon.TaxaID.Value, PERMISSION_MASK.UPDATE);
     }
 }
Exemplo n.º 3
0
 protected override void BindPermissions(PermissionBuilder required)
 {
     required.AddBiota(Taxon.TaxaID.Value, PERMISSION_MASK.OWNER);
 }
Exemplo n.º 4
0
 protected override void BindPermissions(PermissionBuilder required)
 {
     required.Add(PermissionCategory.SPIN_TAXON, PERMISSION_MASK.UPDATE);
     required.AddBiota(Model.BiotaID, PERMISSION_MASK.UPDATE);
 }
Exemplo n.º 5
0
 protected override void BindPermissions(PermissionBuilder required)
 {
     required.Add(PermissionCategory.SPIN_TAXON, PERMISSION_MASK.DELETE);
     required.AddBiota(Taxon.TaxaID.Value, PERMISSION_MASK.DELETE);
 }
Exemplo n.º 6
0
 protected override void BindPermissions(PermissionBuilder required)
 {
     required.Add(PermissionCategory.SPIN_TAXON, PERMISSION_MASK.UPDATE);
     // don't need biota permission to update a new item...
     if (!_isNew) {
         required.AddBiota(Taxon.TaxaID.Value, PERMISSION_MASK.UPDATE);
     }
 }
Exemplo n.º 7
0
 protected override void BindPermissions(PermissionBuilder required)
 {
     required.Add(PermissionCategory.SPIN_EXPLORER, PERMISSION_MASK.ALLOW);
     required.AddBiota(Taxon.TaxaID.Value, PERMISSION_MASK.UPDATE);
     required.AddBiota(NewParent.TaxaID.Value, PERMISSION_MASK.UPDATE);
 }
Exemplo n.º 8
0
 protected override void BindPermissions(PermissionBuilder required)
 {
     required.Add(PermissionCategory.SPIN_TAXON, PERMISSION_MASK.INSERT);
     if (Taxon.Parent != null && Taxon.Parent.ObjectID.HasValue && Taxon.Parent.ObjectID > 0) {
         required.AddBiota(Taxon.Parent.ObjectID.Value, PERMISSION_MASK.INSERT);
     }
 }
 protected override void BindPermissions(PermissionBuilder required)
 {
     required.Add(PermissionCategory.SPIN_EXPLORER, PERMISSION_MASK.ALLOW);
     required.AddBiota(Taxon.TaxaID.Value, PERMISSION_MASK.UPDATE);
     required.AddBiota(NewParent.TaxaID.Value, PERMISSION_MASK.UPDATE);
 }
 protected override void BindPermissions(PermissionBuilder required)
 {
     required.Add(PermissionCategory.SPIN_TAXON, PERMISSION_MASK.DELETE);
     required.AddBiota(Taxon.TaxaID.Value, PERMISSION_MASK.DELETE);
 }
Exemplo n.º 11
0
 protected override void BindPermissions(PermissionBuilder required)
 {
     required.AddBiota(Taxon.TaxaID.Value, PERMISSION_MASK.OWNER);
 }