You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# TODO: 0. if at least provider exists (beyond the node itself), we should not
else:
returnserialize_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,
The text was updated successfully, but these errors were encountered:
create default policies in lua
anubis/anubis-management-api/anubis/policies/routers.py
Line 420 in c35ee08
The text was updated successfully, but these errors were encountered: