Optional possibility for non-admins to create group with linked context

Description

  • REST API call: POST base/_principals/groups

    • New resource

    • Accepts the following parameters in request body:

      • Group name

      • Context name

  • Group principal is created

  • Creating user becomes admin of group principal

  • Creating user becomes group member

  • Context is created

  • Creating user becomes admin of context entry

  • Group gets write access on context resource

  • Group home context is set to the newly created context

    • Possibly requires new method Group.setHomeContext(URI resURI)

    • Statement s(<group entry URI>) p(<http://entrystore.org/terms/homeContext>) o(<context resource URI>) is set in groups entry information

  • Set names for group and context

  • Request response contains location header with URI of new group

Environment

None

Activity

Show:

Hannes Ebner March 2, 2015 at 10:48 AM

Fixed

Details

Assignee

Reporter

Fix versions

Components

Priority

Created February 27, 2015 at 1:13 PM
Updated March 2, 2015 at 10:51 AM
Resolved March 2, 2015 at 10:51 AM