In my model I have a type named Repository.
In each repository I have members that can be Admins Editors or Viewers.
I want to create a rule that allows only the owner of the repository to add
admin members and admins to add any other types of members.
Editors and viewers are not allowed to add members.

Is it possible? If yes how?


It is possible.

Read the blog post made by @amaster507 for elaborate walkthrough.

Putting it All Together - Dgraph Authentication, Authorization, and Granular Access Control

1 Like

That was part 1 of 4. I am not sure on the release schedule, but I think it will answer this question well.