Marcus Christie created AIRAVATA-2710:
-----------------------------------------

             Summary: How to assign owner of "everyone" group in Sharing 
Registry?
                 Key: AIRAVATA-2710
                 URL: https://issues.apache.org/jira/browse/AIRAVATA-2710
             Project: Airavata
          Issue Type: Bug
            Reporter: Marcus Christie
            Assignee: Marcus Christie


in AIRAVATA-2662 the "everyone" group is being added to the Sharing Registry.  
A UserGroup in the Sharing Registry must have a owner. This presents a problem, 
the "everyone" group cannot be created until there is a user who can be the 
owner, but createUser should add each user to the "everyone" group.

For now the implementation of createUser creates the "everyone" group if it 
doesn't already exist and makes this user the owner of the group.  That's less 
than ideal since the first user of a domain ends up the owner of the "everyone" 
group.

Here are some possible alternatives:
* create a dummy admin user for the domain that is made the owner of the 
everyone group
* allow groups to not have an owner (make the OWNER_ID column nullable on 
USER_GROUP)





--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to