C
C
Chvalov2018-05-22 15:57:01
Access rights
Chvalov, 2018-05-22 15:57:01

What model to use for document permissions?

There is a site that uses the RBAC access model, which model needs to be additionally implemented to implement the following functionality?
--------------------
It is necessary to implement the "Share" functionality similar to Google Drive or NextCloud
Functionality:

  • Access document by url
  • Public access (Available for searching through documents on the site)
  • Public access with password
  • To a specific user (registered on the site)
  • User group (Each user can create his own group)

The ability to grant rights to view the whole group and separately full rights to some users (it doesn’t matter if he is in the same group or is only registered)
And how to act if the user belongs to a group that is only allowed to view, but he is separately (by the second entry in the database) assigned full rights?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
d-stream, 2018-05-22
@d-stream

What is being searched for has almost zero relevance with *sql tags
And the structure - well, either look back at the win / lin rights model or simplify it to your needs users / groups / rights

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question