Question

Hallo everybody, I created a few pages in CMS Twiki. It would be really great if I could add some very preliminary material such as unpublished drafts, draft presentations and such for perusal by CMS users, but unvisible to any other nonCMS user. Is this functionality possible ? Thanks a lot stefano

Environment

Web Browser:  
User Location: unspecified
Categories: Permissions

-- StefanoBianco - 10 Jun 2008

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

Hello

This is possible and CMS have recently requested such functionality. Please contact Andreas Pfeiffer for more information.

-- PeterJones - 10 Jun 2008

Assuming that. CMSwebAccessSimbaGroup is a group of CMS? then you can use the access rights documented here. TWikiPreferences#Access_Control_Settings. More over if you want to the whole draft -> approval -> publish process then WorkflowPlugin exists. Having said last time I tried WorkflowPlugin it did not quite work right but a similar problem with another plugin now looks to be fixed so it might be worth ago again.

-- SteveTraylen - 11 Jun 2008

If you just need to block read access to non CMS users you can set this within a topic

   * Set DENYTOPICVIEW = Main.TWikiGuest
   * Set ALLOWTOPICVIEW = CMSwebAccessSimbaGroup 

In a web that has been created specifically to allow access to only a group of users this setting is done once in the WebPreferences page

-- PeterJones - 12 Jun 2008

Hi Peter, thanks for your hint, I tried it in MuonRpcPrivate it seems to work. But the two Set commands actually show up in page. How to do to have them not showing ? thanks,

stefano

-- StefanoBianco - 15 Jun 2008

Surround the setting with the comment markers.

-

<!--
   * Set DENYTOPICCHANGE = Main.SomeGroup
-->

-- PeterJones - 16 Jun 2008

Hallo again Peter. Now something weird happened. The page appeared in https://twiki.cern.ch/twiki/bin/viewauth/CMS/MuonRpcPrivate and it works great. I asked an ATLAS friend to login and she couldn't. Great.

HOWEVER, the page also magically appeared in https://twiki.cern.ch/twiki/bin/view/CMS/MuonRpcPrivate and it is public !

help please

thanks a lot stefano

-- StefanoBianco - 16 Jun 2008

You are referring to the same page. Once access control is set in a page TWiki uses viewauth to display it. Always use the full path when referring to a TWikiUser or TWikiGroup like Main.TWikiGuest

-- PeterJones - 17 Jun 2008

I inserted the link to MuonRpcPrivate in the https://twiki.cern.ch/twiki/bin/view/CMS/MuonRPC (bottom of the page).

When clicked, it will not use viewauth, it is just public. Where am I skrewing up ? thanx

-- StefanoBianco - 17 Jun 2008 No such template def TMPL:DEF{PROMPT:supportquery}

-- PeterJones - 04 Nov 2007

Edit | Attach | Watch | Print version | History: r13 | r11 < r10 < r9 < r8 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r9 - 2008-06-17 - StefanoBianco
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Support All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback