Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

[AAD] Decouple PAI internal resource from external user/groups #3275

Closed
9 of 11 tasks
mzmssg opened this issue Jul 29, 2019 · 0 comments
Closed
9 of 11 tasks

[AAD] Decouple PAI internal resource from external user/groups #3275

mzmssg opened this issue Jul 29, 2019 · 0 comments
Assignees

Comments

@mzmssg
Copy link
Member

mzmssg commented Jul 29, 2019

In current AAD, we have a strong requirement that every vc need a dedicated group, which means resource acl depends on external user/groups. This issue is to decouple them.

Design

Current user/group model:
image

New user/group model:
image

From implementation, basically, we will move virutal cluster out of user and into group schema: users belong to some groups, and groups define resource.

User schema(generated/updated from aad):

Key Value Description
username String  
email String  
group List String array  
password String  
extension Map virtualCluster: vc1, vc2

Group schema(maintained by admin):

Key Value Description
groupName String  
externalName String  
extension Map groupType: vc/admin/stroage
acls: {
virtualClusters: vc1, vc2,
storageConfigs: storageConfig1, storageConfig2,
admin: true/false,
etc
}

Login: only groups with vc access could login.

Items:

  • redesign user/group schema
  • job submission: submit,delete
  • user management: add/delete user, password change
  • group management: add/delete group
  • vc management: add/delete vc
  • new api: update group acls
  • migrate existing schema to new schema
  • adapt webportal
  • fix unit test (doing)
  • update storage logic with new schema
  • TBD
@mzmssg mzmssg self-assigned this Jul 29, 2019
@hzy46 hzy46 mentioned this issue Jul 29, 2019
44 tasks
@mzmssg mzmssg changed the title Mapping aad group to existing vc [AAD] Decouple PAI internal resource from external user/groups Jul 31, 2019
@debuggy debuggy closed this as completed Aug 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants