I have created a custom entity in CDS with attachments enabled.
All users have same read/write/delete rights to Custom CDS Entities.
User 'A' enters CDS record and adds attachement to a PDF document. The gallery showing all records and includes attached PDF reference.
User 'B' goes to the same gallery and they see record information, but no attachment.
Any reason why this should be the case? I need all users to be able to see attachments added by any user. I have got to make this work to implement app.
Thanks for any help!
Solved! Go to Solution.
Hi @lknudson1 ,
Could you please share a bit more about your scenario?
Do you mean that the User B could not see the attachments uploaded via UserA?
Further, which security role of your PowerApps environment is assigned to the User B? Does the User B only have permission to your custom Entity rather than other Entites in your CDS?
Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. If the User A and User B has same permissions to your CDS, the User B could access the uploaded attachments from User A.
Actually, the uploaded attachments within the CDS Entity would be saved into the Note Entity. Please make sure the User B has enough permission to access the Note Entity in your CDS:
In addition, please also check if you have assigned appropriate security role of your PowerApps Environment to your User B. You could consider assign a "System Administrator" security role of your PowerApps Environment to your User B, then try the app again, check if the issue is solved.
More details about Security Roles in PowerApps, please check the following article:
https://docs.microsoft.com/en-us/power-platform/admin/database-security#predefined-security-roles
Best regards,
Hi @lknudson1 ,
Could you please share a bit more about your scenario?
Do you mean that the User B could not see the attachments uploaded via UserA?
Further, which security role of your PowerApps environment is assigned to the User B? Does the User B only have permission to your custom Entity rather than other Entites in your CDS?
Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. If the User A and User B has same permissions to your CDS, the User B could access the uploaded attachments from User A.
Actually, the uploaded attachments within the CDS Entity would be saved into the Note Entity. Please make sure the User B has enough permission to access the Note Entity in your CDS:
In addition, please also check if you have assigned appropriate security role of your PowerApps Environment to your User B. You could consider assign a "System Administrator" security role of your PowerApps Environment to your User B, then try the app again, check if the issue is solved.
More details about Security Roles in PowerApps, please check the following article:
https://docs.microsoft.com/en-us/power-platform/admin/database-security#predefined-security-roles
Best regards,
RE: "Do you mean that the User B could not see the attachments uploaded via User A?"
* Yes, and other way around - User A couldn't see attachments uploaded via User B.
I didn't think it was a security issue between A and B as they both had full access to Custom entity, and I didn't want to up User privilege to 'System Administrator' Role.
However, I had no idea that attachments were held in Note Entity! Adding Team privileges to 'Note' Entity did the trick.
Many Thanks!
Just to add to the previous reply, it sounds like the users only have user-level access on the Note entity. To see attachments added by other users, they will need at least Business Unit (if only to see attachments added by users in the same Business Unit) or Organization-level (to see all attachments ) permission on the Note entity
User | Count |
---|---|
26 | |
20 | |
7 | |
6 | |
4 |
User | Count |
---|---|
30 | |
27 | |
15 | |
8 | |
7 |