Skip to content

Integrate ACL page permissions from plugin aclinfo in sidebar#75

Open
fschrempf wants to merge 1 commit into
cosmocode:masterfrom
fschrempf:aclinfo-integration
Open

Integrate ACL page permissions from plugin aclinfo in sidebar#75
fschrempf wants to merge 1 commit into
cosmocode:masterfrom
fschrempf:aclinfo-integration

Conversation

@fschrempf

@fschrempf fschrempf commented Apr 30, 2021

Copy link
Copy Markdown
Contributor

If the aclinfo plugin is installed a new item for the page permissions will be added to the sidebar menu.

This PR depends on cosmocode/aclinfo#7!

image

If the aclinfo plugin is installed a new item for the page permissions
will be added to the sidebar menu.

Signed-off-by: Frieder Schrempf <dev@fris.de>
@splitbrain

Copy link
Copy Markdown
Member

Hmm, I'm not sure why this needs to have any code in the template. Why not simply add the plugin's syntax to the sidebar?

@fschrempf

Copy link
Copy Markdown
Contributor Author

Hmm, I'm not sure why this needs to have any code in the template. Why not simply add the plugin's syntax to the sidebar?

I just followed the way how the starred plugin is integrated in the sidebar. Only the upper part of the sidebar is generated from wiki syntax and as far as I understand meant to be used for site navigation and links. The lower part (separated by some spacing) is for tools and plugins and this is where the aclinfo nicely fits in. This part is not meant to be generated from any wiki syntax as far as I can see.

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

Successfully merging this pull request may close these issues.

2 participants