rssidlowski / Hydrants

City of Baltimore Fire Hydrant Inspections
0 stars 0 forks source link

Add role to restrict update hydrant status to IN SERVICE, OUT OF SERVICE to only allow Baltimore City Fire Dept #16

Closed rssidlowski closed 9 years ago

rssidlowski commented 9 years ago

Within the City of Baltimore, only the members of the Fire Department should be allowed to update the hydrant status to

rssidlowski commented 9 years ago

only fd can change status to in service. any users can change to any other status.

jday3 commented 9 years ago

Done

rssidlowski commented 9 years ago

Does this key off the person logged in and their role or does it use the inspector organization? Can you default the inspector and inspector org to the current person logged in?

alanfoster99 commented 9 years ago

just to make sure I am reading this correctly, all users are allowed to set it as "Out of Service" correct?

rssidlowski commented 9 years ago

Correct.

jday3 commented 9 years ago

It is checking the role of the logged in user from the Administration application. I could pull the inspector name from the logged in user, but we would have to be sure that that user is in the Hydrants database

rssidlowski commented 9 years ago

Verified.