Block permission issue after upgrade
We recently upgraded to 1.3 from the 0.9.3 and didn't notice at first because I am an admin, but regular users cannot edit blocks. They can view the blocks and all have correct block permissions but cannot click on them and when given the direct link see `You do not have permissions to complete this action.` Any ideas what could be going on here?
Comments
We are going to update a few more sites so we will keep our eyes on this but can you think why this might be happening and/or how to fix it? Should it be added to the db migrations?
INSERT INTO `fuel_permissions` (`id`, `name`, `description`, `active`) VALUES ('27', 'blocks', 'Manage Blocks', 'yes');
New permissions:
INSERT INTO `fuel_permissions` (`id`, `name`, `description`, `active`) VALUES ('38', 'blocks/create', 'Blocks: Create', 'yes');
INSERT INTO `fuel_permissions` (`id`, `name`, `description`, `active`) VALUES ('39', 'blocks/edit', 'Blocks: Edit', 'yes');
INSERT INTO `fuel_permissions` (`id`, `name`, `description`, `active`) VALUES ('40', 'blocks/publish', 'Blocks: Publish', 'yes');
INSERT INTO `fuel_permissions` (`id`, `name`, `description`, `active`) VALUES ('41', 'blocks/delete', 'Blocks: Delete', 'yes');
This should probably be added to respective version upgrade sql file, https://github.com/daylightstudio/FUEL-CMS/tree/master/fuel/install/upgrades