edgi-govdata-archiving / web-monitoring-ui

UI to enable analysts to quickly assess changes to monitored government websites
GNU General Public License v3.0
37 stars 38 forks source link

Hide/show UI elements based on permissions #120

Open Mr0grog opened 6 years ago

Mr0grog commented 6 years ago

This depends on actually having permissions implemented in the API (edgi-govdata-archiving/web-monitoring-db#34), so we can’t quite do this work yet.

Once the API returns permission information for a user, we should use that to limit/modify what we display:

lightandluck commented 6 years ago

Particular places in code recommended by mr0grog that would be related to this issue: https://github.com/edgi-govdata-archiving/web-monitoring-db/blob/master/app/controllers/users/sessions_controller.rb

https://github.com/edgi-govdata-archiving/web-monitoring-ui/blob/master/src/services/web-monitoring-db.js#L329

https://github.com/edgi-govdata-archiving/web-monitoring-ui/blob/master/src/services/web-monitoring-db.js#L132

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in seven days if no further activity occurs. If it should not be closed, please comment! Thank you for your contributions.

Mr0grog commented 5 years ago

Still a thing that has to happen.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in seven days if no further activity occurs. If it should not be closed, please comment! Thank you for your contributions.

lightandluck commented 5 years ago

Added never-stale label