Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

administror (admin) user role and site mode #209

Closed
jmvanel opened this issue Jan 28, 2021 · 0 comments
Closed

administror (admin) user role and site mode #209

jmvanel opened this issue Jan 28, 2021 · 0 comments

Comments

@jmvanel
Copy link
Owner

jmvanel commented Jan 28, 2021

In addition to current site mode, where every connected user can add anything, we will have a "admin" site mode, where the services in
https://github.com/jmvanel/semantic_forms/blob/master/scala/forms_play/conf/routes
and not in
https://github.com/jmvanel/semantic_forms/blob/master/scala/forms_play/conf/nologin.routes
will be accessible only to admin.

This is the first step for managing as requested the site
https://data.grottocenter.org/
which currently works under the nologin mode ( immutable content except LOD content added by /display )

The next steps will be:

  1. new user type, content managers, that will be able to /create and /edit URI's, and /load RDF content by HTTP POST;
    this avoids having several real persons acting as admin
  2. admin can add content managers
  3. CMS mode: every connected user can propose content, which is only visible to her and content managers, and will be approved by content managers;
    this additional facility is to replace the use case where a contributor sends by mail to a content manager an RDF document prepared by an external RDF editor, for example a non restricted SF site, or a localhost installation of SF.
jmvanel added a commit that referenced this issue Feb 1, 2021
TESTED with /edit , / , /display + user admin ; user other

TODO
- apply mode policy for other routes
- change message Error 'in /edit', retry later !!!!!!!!
- I18N
- read app.properties only if updated
@jmvanel jmvanel closed this as completed in 3eda47b Feb 2, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant