orchestracities / anubis

Anubis: a flexible policy enforcement solution for NGSI APIs (and beyond!)
https://anubis-pep.readthedocs.org
Apache License 2.0
7 stars 5 forks source link

filter policy that owner (email based) controls #147

Closed github-actions[bot] closed 1 year ago

github-actions[bot] commented 1 year ago

https://github.com/orchestracities/anubis/blob/10a293c0a67a0bd320d0c1ce1d0a14dac5070894/anubis-management-api/anubis/policies/operations.py#L28


        resource_type: str = None,
        skip: int = 0,
        limit: int = 100,
        user_info: dict = None,
        owner: str = None):
    # TODO: filter policy that owner (email based) controls
    if mode is not None and agent is not None:
        db_policies = db.query(
            models.Policy).join(
github-actions[bot] commented 1 year ago

Closed in 911615668ba445e275134e34eddb5b61f8106a33