Jetspeed 2
  1. Jetspeed 2
  2. JS2-1135

Space management security access should be configurable.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.1
    • Component/s: Admin Portlets
    • Labels:
      None

      Description

      Currently, a space can be added by admin role only and can be edited by admin role or the space owner only.
      The roles need to be configurable (e.g. comma-separated preference values)

        Activity

        Hide
        Woonsan Ko added a comment -

        The following preference is added into three portlets: j2-admin::SpacesManager, j2-admin::SpaceNavigator and j2-admin::PageNavigator.

        <!-- If the following pref is blank, then the default admin role and admin user is used. -->
        <preference>
        <name>spaceAdminRoles</name>
        <value>devmgr, executive</value>
        </preference>

        As commented, if the above preference is blank, then the admin role and the admin user name are used to check if the user is a space admin user. (This is the default option.)
        If the preference is set by comma or whitespace separators, then the configured roles are to be checked as well as the admin role and admin user.

        Show
        Woonsan Ko added a comment - The following preference is added into three portlets: j2-admin::SpacesManager, j2-admin::SpaceNavigator and j2-admin::PageNavigator. <!-- If the following pref is blank, then the default admin role and admin user is used. --> <preference> <name>spaceAdminRoles</name> <value>devmgr, executive</value> </preference> As commented, if the above preference is blank, then the admin role and the admin user name are used to check if the user is a space admin user. (This is the default option.) If the preference is set by comma or whitespace separators, then the configured roles are to be checked as well as the admin role and admin user.

          People

          • Assignee:
            Woonsan Ko
            Reporter:
            Woonsan Ko
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development