Allow assembly admins to manage components in child assemblies#8955
Conversation
4153745 to
9054a6c
Compare
tramuntanal
left a comment
There was a problem hiding this comment.
I've tested it locally and it works
|
@LauraJaimeC I would change the title to "Allow assembly admins to manage components in child assemblies" |
Talking about happy path, I didn't thought about creating these things 😅 |
|
@andreslucena hello, can you run the proposals test again? Thanks! |
|
@LauraJaimeC I think that's a flaky that we had in |
9054a6c to
c94b2c4
Compare
I've done rebase with develop. |
|
@andreslucena tests are passing, ready to review! |
|
Hi @andreslucena , friendly reminder, this PR is ready |
|
Hi @ahukkanen, the PR is ready to review ✨ If you have any questions, feel free to ask me :) |
ahukkanen
left a comment
There was a problem hiding this comment.
👍
Tested locally that these work as a parent assembly admin:
- Can access child assembly admin
- Can access components admin on child assembly
- Can update component on child assembly
- Can access moderations on child assembly
- Can access and update members on child assembly
So to me it seems to work correctly.
* chore/meetings_optimization: Add touch:true to Follow association with followable Fragment cache meetings partial in meetings index Bump minimist and node-forge (decidim#9131) Bump puma from 5.6.2 to 5.6.4 (decidim#9132) Add base URI to meta image URLs (decidim#9125) Make Decidim fully configurable via ENV vars part II (decidim#8990) Allow assembly admins to manage components in child assemblies (decidim#8955) Export calendar improvements (decidim#9035) Add reminders for publishing reports to meeting authors (decidim#8757) VAPID key generator availabe in core (decidim#9107) Dont add external link container inside editor (decidim#9095)
🎩 What? Why?
Assembly admins can perform actions on child assemblies like create, edit, update, copy, export... but it is not possible to manage components, members, moderations, etc.
In #8773, we did an approach, but I forgot to allow assembly admins to do those actions.
Also, in development, I found an error when trying to access a component created in child assemblies:
This bug is also fixed in PR, this was happened because child assemblies don't have Decidim::AssemblyUserRole.
📌 Related Issues
Testing
📋 Checklist
🚨 Please review the guidelines for contributing to this repository.
docs/.