Closed vyruss closed 7 years ago
Fixed by b54c1cf3e3d35a53ddaacb4e5ae202191e1d7d66 ? =)
I think we should only build out the controllers for the 2 use cases @sjDCC mentions in #131 and the few lookup tables we maintain (e.g. identifier_schemes, languages, etc.) because they have no other mechanism for maintenance beyond direct DB editing.
re-opening because it has not yet been part of a PR
This doesn't seem to be working correctly with all of the html litter and red "Confirm...data method" messages in the last column of each table (screenshot below)
This looks like an en_US translation issue, @briri can you try copying config/locales/administrate.en_GB.yml
to config/locales/administrate.en_US.yml
(editing the 2nd line to say en_US)?
The file does exist. It looks like passenger needed to be restarted. The translations appear to be working now.
@stephaniesimms this all looks ok to me. Good for you now too?
@sjDCC @vyruss I receive the errors below when I try to Edit or Destroy users. Everything else working as expected.
Edit user
Destroy user
@stephaniesimms deleting users is a big no-no due to data integrity issues so that's as expected. I'll look into the edit issue
Perhaps we should remove the destroy user button if deleting is a big no no? Or change it to 'archive' or 'deactivate' user. There's no point having something there that we don't want people to do.
I'm getting the same error with being able to edit users. I assume this page shows their permissions?
Should we remove the destroy option under 'organisations' too as I guess we'd run the risk of being left with data integrity issues again then
@vyruss @sjDCC we definitely don't want to provide admins w/ability to delete users, per our discussion a couple of weeks ago. So we shouldn't present the expectation that they can—I agree that we need to remove the "Destroy" button. I agree w/the suggestion to remove "Destroy" under Organisations too.
destroy
removed from super admin for now. A more sensible action will be implemented to disable users in the future.dmponline-test
?moving this back as it's not deployed to Roadmap server for UAT yet
Edit user working as expected. Removal of Destroy option confirmed. Good to go. Closing out.
We need to replace ActiveAdmin with something simpler, more minimal, and preferably without a DSL to learn.
How does https://github.com/thoughtbot/administrate look? Demo: https://administrate-prototype.herokuapp.com/admin