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

0. if at least provider exists (beyond the node itself), we should not #162

Open
github-actions bot opened this issue Oct 26, 2022 · 0 comments
Open
Labels
enhancement New feature or request todo
Milestone

Comments

@github-actions
Copy link
Contributor

create default policies in lua

# TODO: 0. if at least provider exists (beyond the node itself), we should not

    else:
        return serialize_policy(db_policy)

# TODO: 0. if at least provider exists (beyond the node itself), we should not
# create default policies in lua
# TODO: 1. before creating a policy for a resource, subscribe to it.
# should be done in lua on resource creation? yes, but in this case,
# we need to be able to ensure that the synched policies are created
# for the tenant where the new resource is created (i.e. we need to pass
# the correct headers in the subscription process), otherwise
# - in case of IS_PRIVATE_ORG=FALSE - we won't know the tenant for the resource
# and we will create policy in tenant 'Default' which would
# be wrong ).


@router.post("/",
             response_class=Response,
             status_code=status.HTTP_201_CREATED,
@github-actions github-actions bot added the todo label Oct 26, 2022
@chicco785 chicco785 added this to the 0.9 milestone Oct 27, 2022
@chicco785 chicco785 added the enhancement New feature or request label Oct 27, 2022
@chicco785 chicco785 modified the milestones: 0.9, 0.7 Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request todo
Projects
None yet
Development

No branches or pull requests

1 participant