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

Remove Candid authentication and RBAC authorization #12830

Merged
merged 43 commits into from
Feb 7, 2024

Conversation

markylaing
Copy link
Contributor

Removes Candid and RBAC from LXD, the LXD client, the CLI, the documentation, and all related tooling and tests.

Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
@markylaing markylaing self-assigned this Feb 7, 2024
@github-actions github-actions bot added Documentation Documentation needs updating API Changes to the REST API labels Feb 7, 2024
@markylaing
Copy link
Contributor Author

CLA check is failing because there are too many commits (I'll look into fixing this). In the meantime I can see that all of my commits are signed off with:

$ git log main..HEAD --oneline | wc -l
43
$ git log main..HEAD | grep 'Signed-off-by' | wc -l
43

tomponline
tomponline previously approved these changes Feb 7, 2024
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
This file will soon be deleted/heavily modified to change
authorization object types into "entity types" and
authorization objects into URLs. New entitlements will also
be added. The nolint directive will be removed after the
changes are made.

Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
@tomponline tomponline merged commit 59a5a74 into canonical:main Feb 7, 2024
25 of 26 checks passed
@markylaing
Copy link
Contributor Author

@tomponline apologies - I forgot the patch to remove the old config keys from the database. I'll put up a separate PR.

markylaing added a commit to markylaing/lxd that referenced this pull request Feb 8, 2024
canonical#12830 removed Candid and RBAC
support from LXD but the database entries for the config items in any
existing LXD installations that are using Candid/RBAC will remain. This
patch removes those config items.

Signed-off-by: Mark Laing <mark.laing@canonical.com>
markylaing added a commit to markylaing/lxd that referenced this pull request Feb 8, 2024
canonical#12830 removed Candid and RBAC
support from LXD but the database entries for the config items in any
existing LXD installations that are using Candid/RBAC will remain. This
patch removes those config items.

Signed-off-by: Mark Laing <mark.laing@canonical.com>
markylaing added a commit to markylaing/lxd that referenced this pull request Feb 8, 2024
canonical#12830 removed Candid and RBAC
support from LXD but the database entries for the config items in any
existing LXD installations that are using Candid/RBAC will remain. This
patch removes those config items.

Signed-off-by: Mark Laing <mark.laing@canonical.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Changes to the REST API Documentation Documentation needs updating
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants