From 4e2afe3a03db294e10c4d366dc0e675fe37cad17 Mon Sep 17 00:00:00 2001 From: He Weiwei Date: Thu, 14 Feb 2019 10:23:37 +0800 Subject: [PATCH] Add doc for permissions Signed-off-by: He Weiwei --- docs/permissions.md | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 docs/permissions.md diff --git a/docs/permissions.md b/docs/permissions.md new file mode 100644 index 000000000..f732f0de6 --- /dev/null +++ b/docs/permissions.md @@ -0,0 +1,45 @@ +# Permissions + +Users have different abilities depending on the role they in a project. + +On public projects all users will be able to see the list of repositories, images, image vulnerabilities, helm charts and helm chart versions, pull images, retag images (need push permission for destination image), download helm charts, download helm chart versions. + +System admin have all permissions for the project. + +## Project members permissions + +The following table depicts the various user permission levels in a project. + +| Action | Guest | Developer | Master | Project Admin | +| --------------------------------------- | ----- | --------- | ------ | ------------- | +| See the porject configurations | ✓ | ✓ | ✓ | ✓ | +| Edit the project configurations | | | | ✓ | +| See a list of project members | ✓ | ✓ | ✓ | ✓ | +| Create/edit/delete project members | | | | ✓ | +| See a list of project logs | ✓ | ✓ | ✓ | ✓ | +| See a list of project replications | | | ✓ | ✓ | +| See a list of project replication jobs | | | | ✓ | +| See a list of project labels | | | ✓ | ✓ | +| Create/edit/delete project lables | | | ✓ | ✓ | +| See a list of repositories | ✓ | ✓ | ✓ | ✓ | +| Create repositories | | ✓ | ✓ | ✓ | +| Edit/delete repositories | | | ✓ | ✓ | +| See a list of images | ✓ | ✓ | ✓ | ✓ | +| Retag image | ✓ | ✓ | ✓ | ✓ | +| Pull image | ✓ | ✓ | ✓ | ✓ | +| Push image | | ✓ | ✓ | ✓ | +| Scan/delete image | | | ✓ | ✓ | +| See a list of image vulnerabilities | ✓ | ✓ | ✓ | ✓ | +| See image build history | ✓ | ✓ | ✓ | ✓ | +| Add/Remove labels of image | | ✓ | ✓ | ✓ | +| See a list of helm charts | ✓ | ✓ | ✓ | ✓ | +| Download helm charts | ✓ | ✓ | ✓ | ✓ | +| Upload helm charts | | ✓ | ✓ | ✓ | +| Delete helm charts | | | ✓ | ✓ | +| See a list of helm chart versions | ✓ | ✓ | ✓ | ✓ | +| Download helm chart versions | ✓ | ✓ | ✓ | ✓ | +| Upload helm chart versions | | ✓ | ✓ | ✓ | +| Delete helm chart versions | | | ✓ | ✓ | +| Add/Remove labels of helm chart version | | ✓ | ✓ | ✓ | +| See a list of project robots | | | ✓ | ✓ | +| Create/edit/delete project robots | | | | ✓ |