Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refact: seperate casbin meta and data storage permissions #6356

Merged
merged 6 commits into from
Nov 18, 2024
Merged

Conversation

moogacs
Copy link
Contributor

@moogacs moogacs commented Nov 15, 2024

What's being changed:

change the paths to data and metadata

Category Permission Details Path
Metadata
Roles CRUD meta/roles/*
Roles R role name meta/roles/{role_name}
Users CRUD meta/user/*
Users R user name meta/user/{user_name}
Cluster CRUD meta/cluster/*
Collections CRUD meta/collections/*
Collections R collection name meta/collections/{collection_name}
Collections U collection name meta/collections/{collection_name}
Collections D collection name meta/collections/{collection_name}
Tenants C collection name meta/collections/{collection_name}/shards/*
Tenants R collection name, tenant name meta/collections/{collection_name}/shards/{shard_name}
Tenants U collection name, tenant name meta/collections/{collection_name}/shards/{shard_name}
Tenants D collection name, tenant name meta/collections/{collection_name}/shards/{shard_name}
Data
Objects C collection name, tenant name data/collections/{collection_name}/shards/{shard_name}/objects/*
Objects R collection name, tenant name, object id data/collections/{collection_name}/shards/{shard_name}/objects/{object_id}
Objects U collection name, tenant name, object id data/collections/{collection_name}/shards/{shard_name}/objects/{object_id}
Objects D collection name, tenant name, object id data/collections/{collection_name}/shards/{shard_name}/objects/{object_id}

Review checklist

  • Documentation has been updated, if necessary. Link to changed documentation:
  • Chaos pipeline run or not necessary. Link to pipeline:
  • All new code is covered by tests where it is reasonable.
  • Performance tests have been run or not necessary.

@moogacs moogacs changed the title refact: seperate casbin meta and data storage refact: seperate casbin meta and data storage permissions Nov 15, 2024
@weaviate-git-bot
Copy link

Great to see you again! Thanks for the contribution.

beep boop - the Weaviate bot 👋🤖

PS:
Are you already a member of the Weaviate Slack channel?

@moogacs moogacs marked this pull request as ready for review November 18, 2024 09:00
Copy link

@dirkkul dirkkul merged commit 75aebc1 into feat/rbac Nov 18, 2024
45 of 49 checks passed
@dirkkul dirkkul deleted the meta-data branch November 18, 2024 11:15
ajit283 pushed a commit that referenced this pull request Dec 27, 2024
refact: seperate casbin meta and data storage permissions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants