Fileset Permissions in version 5.8.1
Permalink
I have turned on advanced permissions but cannot see any permissions settings for Filesets?
Is this a bug or is this by design?
Is this a bug or is this by design?
I have posted this as a bug now..
Andrew has responded to the 'Bug' report with the following
"File sets no longer have permissions. They were too complicated since a file could be in multiple sets. File folders now have the permissions on them."
I am posting my reply here because of the problems that could be created by updating a site from 5.7 to 5.8..
"Hi Andrew, that was the conclusion I had reached.
However, If an existing site that was created using Concrete version 5.7 already has permissions setup on Filesets to control which files individual users can can add and delete, removing those permissions has the potential to cause havoc when users suddenly discover they have access to all files and filesets on the site!
If we must lose permissions for filesets then we need to know how to update our addons that make reference to filsets, we need to know how to access the 'Folder' object.
Example..
How would we modify the following to access the Folder Instead of the Fileset?
'FileSet::getByName()' or 'addFileToSet()'"
"File sets no longer have permissions. They were too complicated since a file could be in multiple sets. File folders now have the permissions on them."
I am posting my reply here because of the problems that could be created by updating a site from 5.7 to 5.8..
"Hi Andrew, that was the conclusion I had reached.
However, If an existing site that was created using Concrete version 5.7 already has permissions setup on Filesets to control which files individual users can can add and delete, removing those permissions has the potential to cause havoc when users suddenly discover they have access to all files and filesets on the site!
If we must lose permissions for filesets then we need to know how to update our addons that make reference to filsets, we need to know how to access the 'Folder' object.
Example..
How would we modify the following to access the Folder Instead of the Fileset?
'FileSet::getByName()' or 'addFileToSet()'"
I would also love to know how to do this as well for the latest version. Grab all the file objects in a specific folder via the API.