I would like to ask whether there is specific access rights setting (CRUD) for documents to set as public/by organisation/document type? The goal is to be able to set access rights for different types of document or individual document.
For example
for some general instruction document on the way of working, I would like to set to be accessible to all users
for some department specific documents, I would like to set to only accessible to the users belonging to the department
for special topic documents, only accessible to a few selected users
Thanks for your reply. I understand that mostly the project related documents are the main target. Is it possible to at least add feature to enable document to be accessible to all (similar to note - public or if the document is linked to project type template, then the document accessible to all (i.e. resource allocation not required)?
You may update model/Document.php file to remove attribute "required" on field "idProject".
Then project is not required any more on document.
And documents without a project will be visible by everyone.
I removed attribute "required" on field "idProject" in model/DocumentMain.php and the control alert of project/product must be available.
However, for the document with idProject=NULL, only administrator can view the document, which I suspect is according to the access right setting - project dependant data/documents. Therefore, for user profiles with document access right - 'elements of own projects' or less, they cannot view the documents with idProejct=NULL. Is it controlled by the function drawSpecificItem? Will adding the condition that if idProject=NULL, set $right to defined rightAccess can enable document not in a project to be made public?
En poursuivant votre navigation, vous acceptez le dépôt de cookies tiers destinés au bon fonctionnement et à la sécurisation du site (gestion de session, reCaptcha) et à une analyse statistique anonymisée des accès sur notre site (Google Analytics). Si vous vous inscrivez, les informations que vous fournirez ne seront jamais divulguées à un tiers sous quelque forme que ce soit. En savoir plus
Cookies settings
×
Functional Cookies
Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.
Session
Please login to see yours activities!
Other cookies
Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.