I’m looking for a way to assign file access permissions to particular user groups on a file by file basis. So, something like: group 1 can access file-A, and groups 2 & 3 can access file-B.
I plan on building a custom front-end for users that will display a list of the files they can download. What I need is a way for admins to assign the permissions from the control panel, preferably in the File Manager.
Steve I don’t know your exact relationship between members and files but you might be able to accomplish this by writing a series of {if} statement making file upload locations that are specific to member groups then use {if} statements to display certain files:
EX {if {member_group}== 2}
{exp:file:entries directory_id="3"}
<anchor href=”{file_url}” target=”_blank”>{file_name}</anchor>
{/exp:file:entries}
{/if}
**anchor should be “a” but the forum actual renders the <a
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.