Hello all,
I've created a block to allow teachers to display the same global HTML text on any page that has the block added. The block can have multiple configs to choose from (for instance, a teacher adds the block, and then on the instance configuration settings page, the teacher selects from the list of options which content they want to display). The configurations are added/removed/edited by an admin, but what I want to do next is allow admins to grant other users permission to edit specific block configurations (so a librarian might have editing capabilities for the Library block config, but not the Math block config).
I'm not sure how to go about doing this. I know there's a block-specific context for roles/permissions, but is it possible to distinguish permissions on an even more granular level? I suppose that's the biggest question I have...
I've attached my block for anyone who'd like to take a look at my code. Let me know if I need to be clearer about anything.