Exemple #1
0
def monkeypatch_add_permission():
    return Permission(
        raw_model={
            "identityId": "_subscribed_",
            "permissionName": "Read",
            "targetId": "12345",
        }
    )
Exemple #2
0
def permission():
    return Permission(
        identity_id="_subscribed_", permission_name="Read", target_id="12345"
    )
Exemple #3
0
def monkeypatch_list_permissions():
    return [
        Permission(
            identity_id="_subscribed_", permission_name="Read", target_id="12345"
        )
    ]