how to: not allow editor to "activate" content

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
olaf_noehring

how to: not allow editor to "activate" content

Post 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).
Image

Olaf
--
http://www.team-noehring.de
http://www.tsep.info
cyberman

Re: how to: not allow editor to "activate" content

Post by cyberman »

Think the current permission concept cant do this ...
olaf_noehring

Re: how to: not allow editor to "activate" content

Post 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
Pierre M.

versioning Re: how to: not allow editor to "activate" content

Post 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
olaf_noehring

Re: how to: not allow editor to "activate" content

Post 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
cyberman

Re: how to: not allow editor to "activate" content

Post 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  ;) ...
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: how to: not allow editor to "activate" content

Post 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.
olaf_noehring

Re: how to: not allow editor to "activate" content

Post 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

Image

Olaf
Pierre M.

Re: how to: not allow editor to "activate" content

Post 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
cyberman

Re: how to: not allow editor to "activate" content

Post by cyberman »

Please post a bug report / feature request on project page ...
olaf_noehring

Re: how to: not allow editor to "activate" content

Post 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
cyberman

Re: how to: not allow editor to "activate" content

Post 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
Locked

Return to “CMSMS Core”