ballerina-platform / ballerina-central

Ballerina Central Website
Apache License 2.0
104 stars 1 forks source link

Implement an authorization model for BCentral #215

Open anupama-pathirage opened 1 month ago

anupama-pathirage commented 1 month ago

@Dilhasha cloned issue wso2-enterprise/ballerina-registry#2532 on 2024-04-01:

Description:

$subject as described in https://docs.google.com/document/d/1U8Vx_UTuCB_4dVkH-sQbNm8BS902QV4ijYGEee0Tk24/edit?usp=sharing

Describe your task(s)

Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

anupama-pathirage commented 1 month ago

@Dilhasha commented on 2024-05-21:

  • [x] Setup local spiceDB demo setup

  • [x] Design the spiceDB schema to utilize resource-based authorization using spiceDB

  • [x] Implement auth API with functions to add relations and check permissions

  • [x] Application code improvements - Admin API to add and delete schema

  • [ ] Application code improvements- Migration of existing data to spicedb

  • [ ] Application code improvements - Changes to microservices to add relations and check permissions from spicedb

    - Org API changes - add team, add org user roles, create package
    
    - Package API changes
  • [ ] Deployment of spiceDB @anuruddhal