Page 1 of 1
how to: not allow editor to "activate" content
Posted: Thu Aug 24, 2006 7:19 am
by olaf_noehring
Hi
Is there a way how I can let people create (maybe edit) pages but the pages are not "active" (in the "options" part of the page)?
Same for the "news" - is it possible to let people create news but another user (usergroup) has to activate them?
What I want: leave the checkbox (marked in the image) OFF if the article is created by person A. Person B would have to enable it (Person B is in a group that has more rights than the group person A is in).
Olaf
--
http://www.team-noehring.de
http://www.tsep.info
Re: how to: not allow editor to "activate" content
Posted: Thu Aug 24, 2006 7:39 am
by cyberman
Think the current permission concept cant do this ...
Re: how to: not allow editor to "activate" content
Posted: Sun Aug 27, 2006 9:39 am
by olaf_noehring
Hi
where should I start if I want to change the code of 1.0 beta 6 that I can add a new permission to a group: Can activate/deactivate article?
If a user is in a group who is not allowed to do this the activate checkbox should not be shown.
Olaf
versioning Re: how to: not allow editor to "activate" content
Posted: Sun Aug 27, 2006 8:29 pm
by Pierre M.
@Olaf : I agree there should be multiple editor profiles : "simple" content writers and "validators/broadcasters". The isolation of the right to (de)activate pages should help but...
...may be it would not be enough : there should be a page versionning system with it. I don't think CMSms has it yet.
Suppose user A writes a (inactive) page. Then comes user B who activates the page. The page (version 1) is online.
Now the content must be changed. User A needs the ability to create version 2 of the same page waiting for user B's activation while version 1 is still online.
And one serious design option will be whether the CMS should keep all versions of all contents or just the version before. I'd rather all versions with the abality to delete old versions I'm sure I don't want any more. We would have unlimited undos.
PM
Re: how to: not allow editor to "activate" content
Posted: Mon Aug 28, 2006 5:36 am
by olaf_noehring
Hi
I agree Pierre, and I think tyour suggestion is bing worked on vor version 1 and later. If not, we should suggest this feature.
At this time it would help me if I could add this right.
Olaf
Re: how to: not allow editor to "activate" content
Posted: Mon Aug 28, 2006 6:20 am
by cyberman
pierrem wrote:
there should be a page versionning system with it. I don't think CMSms has it yet.
Have you make a look at archiver module ?
http://dev.cmsmadesimple.org/projects/archiver/
There you can roll back your siteĀ

...
Re: how to: not allow editor to "activate" content
Posted: Mon Aug 28, 2006 9:47 am
by Dee
Take a look at the "Modify Page Structure" permission introduced in beta5. Without it, an admin shouldn't be able to Activate or De-activate content.
Re: how to: not allow editor to "activate" content
Posted: Tue Aug 29, 2006 11:26 am
by olaf_noehring
Hi
@cyberman: I can install it and have removed the rowcount bug - it seems to work. But: I can not restore the history neither view it. This error occurs - any idea? Also: The "expanded archive view" does not show the archive details in Opera (latest version) - screenshot if Firefox
Olaf
Re: how to: not allow editor to "activate" content
Posted: Tue Aug 29, 2006 7:54 pm
by Pierre M.
@cyberman : thanks for pointing to the archiver module. If the "active" flag is related to a version, then the feature wanted by Olaf (and me

is very near : just render the most recent active content.
(or it is more complicated and a once active but now out of date content cannot be active now...)
@Olaf : may be the archiver module is not 1.0 compatible. I've read in theses forums that b5 or b6 (or even b4) breaks modules because the core is beeing optimized and modules need a tiny patch.
I rarely code so I rarely help coding. But it seems to me that a quite little update of the archiver module could make it "1.0 ready" to "just render the most recent active content" with "activation permissions" and "unlimited undos", couldn't it ?
You devs who allways improve this nice CMS make me optimistic

PM
Re: how to: not allow editor to "activate" content
Posted: Wed Aug 30, 2006 4:40 am
by cyberman
Please post a bug report / feature request on project page ...
Re: how to: not allow editor to "activate" content
Posted: Wed Aug 30, 2006 2:07 pm
by olaf_noehring
Hi
@cyberman: Might sound stupid - but how do I post the bug report? I can not find a "submit new" or a similar button.
@pierre / cyberman: I will post the lines of code that I added to create this effect in the tips/tricks section later today.
Olaf
Re: how to: not allow editor to "activate" content
Posted: Wed Aug 30, 2006 2:27 pm
by cyberman
olaf_noehring wrote:
but how do I post the bug report? I can not find a "submit new" or a similar button.
You have to registrate and login in forge - then you can use
http://dev.cmsmadesimple.org/tracker/?a ... unc=browse