Hi. I have a situation where
a single user should be able to create new user accounts, assign users to groups, create new user groups, and upload content that is available (for download) only to set groups. it seems like this could be an already-solved task, although I have not found any documentation that matches these requirements.
The rest of the project involves having a front-end user be able to make changes 'in-line,' without logging into the manager, and it would be nice to have it all the same. maybe for my next project I'll create a custom Manager interface, but for now I'm aiming for this to all be handled on the front-end, without having anybody log into the Manager.
I've been pursuing a solution using a (working) FileUpload snippet call in a template similar to:
[[!FileUpload?
&filefields=`1`
&uploadgroups=`aSingleUser`
&path=`assets/[[*id]]/uploads/contentType`
&createpath=`Yes`
]]
so that the FileUpload call would create a new path for content depending on which resource ID the snippet is called from.
then the idea I had was to write some code so that
when a new user group is created, a new resource is also created, and then the resource id would be tied to the new user group. then this (front-end-)manager would have a new resource from which to upload content for the new user group.
this is my first project where I've relied almost completely on the MODx framework, vs. writing gobs of PHP, and I'd like to keep it within the MODx framework as much as possible, because it really does do the job efficiently. I've been using Evo for a few years, although now I've just recently jumped into Revo, so please don't assume that I know a whole lot when explaining stuff to me.
thanks for taking the time to read this, and extra thanks if you can shed some light on this endeavor.
-Dustin
p.s.: I've underlined my tentative goals.
[ed. note: blankha last edited this post 12 years, 9 months ago.]