Questions and Answers: Closed Question
Status: Closed
Alisa Neeman @ 04:24 PM on 06 Jan, 2012
How to I turn off automatic workspace access for new users?
Workspaces are available automatically as a default for the HUB-from-scratch. I would like to be granted on a request basis rather than automatically. How do I set that up?
Responses (1)
-
Pascal Meunier @ 03:07 PM on 07 Jan, 2012
Go to “https:///contribtool/; and find the “workspace” status page. On the status page for the workspace tool, it should display “You are here: Contribtool › Status for workspace”. Click on “Tool Information “. In the “Tool Access:” select box, choose “Restricted to group(s)”. A new text entry area will appear; enter the group names that should have access.
-
Alisa Neeman @ 04:04 PM on 09 Jan, 2012
The workspace does does not appear on the contribtool page for the Hub-from-scratch. Is there anywhere on the back end I can change the status? (mysql? ldap?)
-
Alisa Neeman @ 01:17 PM on 11 Jan, 2012
Also, I looked in the mysql database. There is no app-workspace group. mysql> select * from jos_tool_groups where cn=“app-workspace”; Empty set (0.00 sec)
-
-
1 Like 0 Dislike
Pascal Meunier @ 03:11 PM on 07 Jan, 2012
For some reason, part of my first answer disappeared. “Click on “Tool Information”“ should be “Edit the tool information by clicking on the Edit link right of the ‘Tool Information’ header”
Report abuse
Alisa Neeman @ 05:42 PM on 25 Jan, 2012
Here’s how to do it. Apparently the tool component checks jos_tool_version for toolacccess type (looking for GROUP). If it’s GROUP then it will look up the group that the tool belongs to and the user belongs to. By default for the workspace jos_tool_version.toolaccess is null. SET autocommit=0; // enable rollback START TRANSACTION; insert into jos_xgroups (cn,description,published,type,access,join_policy,privacy ) values (“app-workspace”,“Workspace Access”,1,2,0,0,0); insert into jos_tool_groups values(“app-workspace”,1,1); insert into jos_tool_groups values(“apps”,1,2); update jos_tool_version set toolaccess=”@GROUP” where id=1; commit; SET autocommit=1;
Report abuse
Alisa Neeman @ 10:14 AM on 19 Mar, 2012
But, a caveat. Don’t call the new group “app-workspace” because that is a special group name that has special attributes in other parts of the hub. “workspace-access” is a good choice instead.
Report abuse