Hello, Ory Community! I have a QQ regarding Ory K...
# general
f
Hello, Ory Community! I have a QQ regarding Ory Keto. I could not find the answer in the documentation. Is it possible to convert this RTS to the OPL definition?
Copy code
Group:system-update-website-status#members@65b950c6-f88d-453b-b050-54e256e57bf4
Website:*#updateStatus@(Group:system-update-website-status#members)
Copy code
import { Namespace, Context } from "@ory/keto-namespace-types";

class User implements Namespace {}

class Group implements Namespace {
    related: {
        members: User[];
    };
}

class Website implements Namespace {
    related: {
        owners: User[];
    };

    permits = {
        view: (ctx: Context) => this.related.owners.includes(ctx.subject),

        // updateStatus: (ctx: Context) => ???,
    };
}