Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Document Access Rig...
 
Notifications
Clear all

Document Access Rights

5 Posts
2 Users
0 Reactions
1,554 Views
(@rainbow)
Posts: 84
Active Member
Topic starter
 
[#7444]

Hi,

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,
Rainbow


 
Posted : 24 Mar 2021 11H23
(@babynus)
Posts: 14952
Member Admin
 

This does not exists and will possibly be difficult to implement as ProjeQtOr is Project based, so access rights are based on project.


 
Posted : 24 Mar 2021 16H17
(@rainbow)
Posts: 84
Active Member
Topic starter
 

Hi,

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)?

Thanks,
Rainbow


 
Posted : 24 Mar 2021 18H47
(@babynus)
Posts: 14952
Member Admin
 

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.


 
Posted : 24 Mar 2021 20H34
(@rainbow)
Posts: 84
Active Member
Topic starter
 

Hi,

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? 

Thanks,
Rainbow
 


 
Posted : 25 Mar 2021 6H44
Share:

Scroll to Top