geoq icon indicating copy to clipboard operation
geoq copied to clipboard

Add the ability to make certain Feature Type permanant

Open jaalfaro opened this issue 10 years ago • 5 comments

FEMA has need to make sure that certain feature types are not altered or deleted. The primary features types to be used by FEMA are Destroyed Damage Major Damage Minor Damage Affected.

jaalfaro avatar Jun 19 '14 13:06 jaalfaro

Hmm, you're suggesting to have some features that only an admin can edit?

--Jay

On Thu, Jun 19, 2014 at 9:37 AM, John Alfaro [email protected] wrote:

FEMA has need to make sure that certain feature types are not altered or deleted. The primary features types to be used by FEMA are Destroyed Damage Major Damage Minor Damage Affected.

— Reply to this email directly or view it on GitHub https://github.com/ngageoint/geoq/issues/167.

jaycrossler avatar Jun 19 '14 13:06 jaycrossler

Yes. At least for FEMA, there are going to be a bare minimum that they will use for pretty much all event. So the concern is that someone could edit those inadvertently, and cause issues. So, the request was to make them "permanent".

So, we could add a flag that requires system admin rights to alter for things that should never be changed or changed with strong oversight, and then the rest which continue the flexibility we have now.

jaalfaro avatar Jun 19 '14 14:06 jaalfaro

Or maybe have two sets (two models) - PermanentFeatures and UserDefinedFeatures ?

--Jay

On Thu, Jun 19, 2014 at 10:54 AM, John Alfaro [email protected] wrote:

Yes. At least for FEMA, there are going to be a bare minimum that they will use for pretty much all event. So the concern is that someone could edit those inadvertently, and cause issues. So, the request was to make them "permanent".

So, we could add a flag that requires system admin rights to alter for things that should never be changed or changed with strong oversight, and then the rest which continue the flexibility we have now.

— Reply to this email directly or view it on GitHub https://github.com/ngageoint/geoq/issues/167#issuecomment-46570606.

jaycrossler avatar Jun 19 '14 15:06 jaycrossler

That should work. Though I'd probably treat it as a logic difference and not a physical difference. So they are really just features for as far as the work cell, and only at the feature types page are they differentiated.

jaalfaro avatar Jun 19 '14 16:06 jaalfaro

We should probably add a field like "DontAllowModifications" on the FeatureType, and then the UI won't be allowed to edit it if that's set - admins would be the only ones who could make changes through the admin menu,

jaycrossler avatar Jul 02 '14 16:07 jaycrossler