-
Notifications
You must be signed in to change notification settings - Fork 6
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
Kl 2022 09 dashboard token perms #4484
Conversation
e10cc74
to
a76cdbf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool! see comment in a4 :)
meinberlin/templates/a4dashboard/includes/nav_modules_item.html
Outdated
Show resolved
Hide resolved
a76cdbf
to
3d9d435
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really cool, I think this is a good solution!
So fine for me to merge after updates!
3d9d435
to
92070ec
Compare
92070ec
to
ad11e9c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah!
I am unhappy with how I did it and with the naming, but I couldn't think of a better (and not also overly complex) way. It should work better with the permissions from the view somehow, but as we don't have the user in the dashboard components, and I didn't want to add that complexity, I did it like that. 🤷♀️ And I thought, if we ever need more and other perms in the dashboard, we can still improve from here.
Depending on liqd/adhocracy4#1216
Right, and the two first commits are from #4477
So, these both need to be merged first and this cleaned up then.