Permissions, inheritance and principals via the API
Hi,
I have some questions about content permissions in Panopto. From my testing, it seems like permissions can be set in a couple of places:
* On the videos themselves
* On folders
if I have a video that's shared with a single user, and that video is in a folder that's shared with a single different user (Assuming "Viewer" permissions), can you confirm that the resultant combination of permissions on the video will enable both users to be able to access the video? And ultimately, that these permissions will be appropriately represented when accessed via the searchIndexSync/contentAPI (i.e. both of the users will be added to the list of assigned principals)?
I'm asking for you to confirm my findings, as this is what I'm seeing in the UI, but I want to be sure I'm not missing anything here; the indexing project I'm working on requires strict consideration with permissioned content, and I want to make sure that people can't see or get access to content they're not supposed to.
Answers
Hi Stephen,
If you have:
Then:
This is because the permissions are union-ed together - the video inherits all folder permissions AND adds its own direct permissions.
Your concern about permissioned content is valid. The searchIndexSync API accurately represents the combined effective permissions. The principals array returned will include:
This means you can trust the principals list to enforce proper access control in your external search index.
I hope this helps.
Thanks,
Adis