Skip to content

ABAC documentation part three#2879

Draft
HannesSandberg wants to merge 14 commits intoneo4j:devfrom
HannesSandberg:abac-part-three
Draft

ABAC documentation part three#2879
HannesSandberg wants to merge 14 commits intoneo4j:devfrom
HannesSandberg:abac-part-three

Conversation

@HannesSandberg
Copy link
Copy Markdown
Contributor

Next part of documentation of ABAC, builds on top off: #2827

SHOW AUTH RULES AS COMMANDS
SHOW ROLES WITH AUTH RULES

ALTER AUTH RULE
RENAME AUTH RULE

separate sub-privileges of AUTH RULE MANAGEMENT:
CREATE AUTH RULE
SHOW AUTH RULE
RENAME AUTH RULE
DROP AUTH RULE
ALTER AUTH RULE

@HannesSandberg HannesSandberg added the team-cypher-operations Cypher operations should review this label Feb 12, 2026
@Hunterness Hunterness self-assigned this Feb 12, 2026
HannesSandberg and others added 3 commits February 12, 2026 14:03
fix code block

add link

added that SHOW commands and alter commands are not supported yet.

updates to grant/revoke section in the ABAC page

fix heading

Update modules/ROOT/pages/authentication-authorization/attribute-based-access-control.adoc

add a temporal example

Play-day review suggestions

Play-day review suggestions

Apply suggestions

Play-day review suggestions

Play-day review suggestions contd

review fixes

Re-add and fix stuff after the rebase

review fixes

review fix
review fixes

document OR REPLACE

review fixes

Apply suggestions from code review

Co-authored-by: Therese Magnusson <scout.therese@gmail.com>
@renetapopova
Copy link
Copy Markdown
Collaborator

Hey @HannesSandberg, I see that you have 3 PRs that build on top of each other. Why haven't you just created a branch? I am not sure how we are supposed to review all of these.

@renetapopova
Copy link
Copy Markdown
Collaborator

Would you like me to create a branch from dev, review these PRs, and merge them there? We can keep this branch in sync with dev, and when it's time to release ABAC, we'll merge it into dev. What do you think?

@HannesSandberg
Copy link
Copy Markdown
Contributor Author

Hello @renetapopova. That is because this feature is still behind a feature flag and not ready for GA. So there is one PR for every release since the Early Access Program started.

The plan is to merge the entire thing when the feature is ready to be released.

How to review this, I think it can be either be done after everything is implemented and documented. Then the last PR in the chain of PR would be the only one that's needs to be reviewed and I can tell you when it is time to review. The other option is to review them when they appear.

Read your second message now:

Would you like me to create a branch from dev, review these PRs, and merge them there? We can keep this branch in sync with dev, and when it's time to release ABAC, we'll merge it into dev. What do you think?

I think that sounds like a good idea if the PR's to that branch also contains the preview from the neo4j-docops-agent. It is very nice to have that webpage.

@renetapopova
Copy link
Copy Markdown
Collaborator

I think that sounds like a good idea if the PR's to that branch also contains the preview from the neo4j-docops-agent. It is very nice to have that webpage.

Let me see if that's possible. I'll give it a try tomorrow.

@HannesSandberg
Copy link
Copy Markdown
Contributor Author

HannesSandberg commented Feb 13, 2026

Hello @lidiazuin, here is the PR where I would want some changes to privileges-grant-and-deny-syntax-dbms-privileges.svg and privileges-hierarchy-dbms.svg.

privileges-grant-and-deny-syntax-dbms-privileges.svg:

Add a new square with privileges underneath IMPERSONATE, in this square add these:

AUTH RULE MANAGEMENT
CREATE AUTH RULE
DROP AUTH RULE
RENAME AUTH RULE
ALTER AUTH RULE
SHOW AUTH RULE

privileges-hierarchy-dbms.svg:

Somewhere close to role or user management, there should be a new square with the text AUTH RULE MANAGEMENT connected to ALL [[DBMS] PRIVILEGES], this square should then have multiple small ones connected to it, similar to the ROLE MANAGEMENT one. The smaller light grey ones should be:

CREATE AUTH RULE
DROP AUTH RULE
RENAME AUTH RULE
ALTER AUTH RULE
SHOW AUTH RULE

Does this makes sense? If you have questions, feel free to ping me here or on slack.

Thanks 😃

@lidiazuin
Copy link
Copy Markdown
Contributor

privileges-grant-and-deny-syntax-dbms-privileges-2026
privileges-hierarchy-dbms-2026

Let me know if there are any changes that you need :)

Copy link
Copy Markdown
Contributor

@Hunterness Hunterness left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✨ Comments ✨

Copy link
Copy Markdown
Contributor

@Hunterness Hunterness left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New cluster of comments

Copy link
Copy Markdown
Contributor

@Hunterness Hunterness left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just the leftover comment on reordering the file and a small typo left now

Copy link
Copy Markdown
Contributor

@Hunterness Hunterness left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be a bit odd with the combined examples that now show bits that haven't been covered yet

@neo4j-docops-agent
Copy link
Copy Markdown
Collaborator

:page-role: enterprise-edition aura-db-business-critical aura-db-dedicated

[[attribute-based-access-control]]
= Attribute-based access control
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a introduced in version label. See this comment: #2827 (comment)

@HannesSandberg HannesSandberg mentioned this pull request Mar 17, 2026
renetapopova added a commit that referenced this pull request Mar 23, 2026
Based on top of #2879

---------

Co-authored-by: Therese Magnusson <scout.therese@gmail.com>
Co-authored-by: philipwright <95368282+phil198@users.noreply.github.com>
Co-authored-by: Reneta Popova <reneta.popova@neo4j.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

NOT_READY_FOR_MERGE team-cypher-operations Cypher operations should review this

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants