Description of the need
We constantly sync DB from production to local dev branch and have to manually set permissions after each sync. Would be nice if the config override system worked also for permissions.
Additional information
Unfortunately, the overrides in settings.php like:
// Perms
$config['user.role.authenticated']['permissions'] = ['access devel information', 'switch users'];
or
// Perms
$config['user.role.authenticated']['permissions'][] = 'access devel information';
$config['user.role.authenticated']['permissions'][] = 'switch users'];
have no effect.
GitHub Issue #:
6193
Recent comments
Thanks Alejandro. That was the clues I needed.
Ubercart - Programmatically add product to cart and straight to Checkout
Have you tried uc_cart_add_item()? You need to provide the nid of the product. Then you can use backdrop_goto('cart/checkout'); to send the user to the checkout screen. uc_cart_add_item...
Ubercart - Programmatically add product to cart and straight to Checkout
No problem, let's see how it evolves. I'd be happy to provide a suggested version if i could. I will keep that in mind and try learn this hook chain hopefully very soon. I will...
File hashing uploads made through TinyMCE