Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't work with model 1.1 #8

Open
misterflop opened this issue Mar 12, 2023 · 0 comments
Open

Don't work with model 1.1 #8

misterflop opened this issue Mar 12, 2023 · 0 comments

Comments

@misterflop
Copy link

Hello,

It doesn't work with DSL 1.1.

Example:
model
schema 1.1
type user
type group
relations
define member: [user]
type folder
relations
define can_create_file: owner
define owner: [user]
define parent: [folder]
define viewer: [user,user:*,group#member] or owner or viewer from parent
type doc
relations
define can_change_owner: owner
define owner: [user]
define parent: [folder]

The old format will be soon deprecated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant