- Issue created by @Anybody
- 🇩🇪Germany Anybody Porta Westfalica
@lazzyvn: Would be great, if you'd think about our offer for the additional setting here again. At least for admins, the permission will never do anything (because they have all permissions) and it's not untypical that you simply don't want the Add feature, so I'd really expect a setting next to the existing line acton settings.
I think it would be helpful in sbx. But of course you decide as maintainer :) We'd sponsor it with our time.
- 🇫🇷France lazzyvn paris
You can active module 'Paragraphs Type Permissions'. You can set role to see button add or use css to hide it
- 🇩🇪Germany Anybody Porta Westfalica
@lazzyvn thanks. We still have the issue that the button is visible for user 1 - the client - who is confused and complaining.
Do you see a chance to reopen this and allow disabling the add button entirely or at least add a possibility to alter it using
hook_paragraphs_table_formatter
?Or would you at least allow adding a dedicated class to the button and its wrappers so it can be cleanly hidden by CSS?
- 🇩🇪Germany Anybody Porta Westfalica
@lazzyvn I created a MR for adding the classes, maybe that would be okay for you?
- 🇩🇪Germany Anybody Porta Westfalica
Leaving this RTBC because of the missing credit.
- 🇫🇷France lazzyvn paris
I still credit you but this patch is really not serious at all. It almost didn't check it again before merge request, it caused an error when checking so I had to fix it.
- 🇩🇪Germany Anybody Porta Westfalica
Sorry @lazzyvn you're right, that was indeed too quick.