-
- 22 Posts
Hey,
Situation
I have two different Usergroups. In One group are SuperUser in the another one are the normal Content-Editors.
They both have access to the Mgr and they can both create Content. I want that all content created by the user of the Content-Editors have a speciel default ResourceGroup maybe like "notyetpublic".The SuperUser is able to choose the RG.
Idea:
I tried to do this with the Form Customization Rules but I cant find any hint how I can address ResourceGroup with the Default Value Rule.
Is this somehow possible?
matic
-
- 24,544 Posts
I think you’d need a plugin to do that. The easiest way is to have all the docs created under parent containers that belong to the protected resource group and have the children inherit the resource groups of their parents. IIRC, the NewsPublisher snippet will create docs that inherit their doc group membership from their immediate parent.
-
- 24,544 Posts
I’m working on a Revo version of NewsPublisher. It’s not quite ready for use, but I hope to have something up in the next week or so.
-
- 24,544 Posts
Looks good, although the first three lines are unnecessary if you’re only linking it to one event.
-
- 40 Posts
Hello traedamatic,
nice script... but it does not work on my website. What do I have to change (which is the resource group name (editorialgroup?). I'm running on Revo 2.2.6
Thomas
I may be mistaken, but doesn't this line cause problems with some versions of PHP?
$resource =& $this->properties['resource'];
http://php.net/manual/en/language.references.whatdo.php
-
- 712 Posts
This is awesome. What about removing a resource from a resource group?
jpdevries