gwu-libraries / gw-sufia

GWU Libraries Self-Deposit Prototype - based on Sufia 4
2 stars 1 forks source link

Create Admin Users to view editable areas of sufia #55

Closed kilahimm closed 10 years ago

kilahimm commented 10 years ago

Readme of how-to and initial setup of a shared account.

mjgiarlo commented 10 years ago

The dynamically editable areas are:

  1. About page
  2. About blurb on homepage (the black bar)
  3. Featured Researcher on homepage
  4. Featured Works on homepage

For the first three of these, we'll need to find a way to designate admin users (a group from LDAP?). In the meantime, I submitted PR #57 that makes every logged in user an admin user so we can use this functionality, until we get further with authN/authZ (just sent a reminder email about this as well) -- see #admin_user? and #editor_abilities in app/models/ability.rb in that PR which should be linked to this issue. To edit these, browse to the feature and then click the in-place "Edit" button.

Featured works are handled a bit differently since you don't necessarily have access to all the deposited works on the homepage. To add a deposited file as a featured work, you need access to the file. Head to its show page, and there should be a link under Actions labeled "Feature." Click that. Once you've added 2 or more files, browse to the homepage and there you can tweak the order of these featured works by dragging and dropping them and then clicking "Save order."

mjgiarlo commented 10 years ago

(If the PR is merged and my text above is sufficient to answer your question, feel free to close the issue.)