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