You are here: Questions and AnswersHow to I turn off automatic workspace access for …

Questions and Answers: Closed Question

Status: Closed

0 Like

Alisa Neeman

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?

Report abuse

Chosen Answer

  1. 0 Dislike

    Pascal Meunier

    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

    1. Alisa Neeman

      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

      1. Alisa Neeman

        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

Responses (1)

  1. 0 Like 0 Dislike

    Pascal Meunier

    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.

    Report abuse

    1. Alisa Neeman

      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?)

      Report abuse

      1. Alisa Neeman

        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)

        Report abuse