refs #5881 createRolAndGrantAcl #1715
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix#1715
Loading…
Reference in New Issue
No description provided.
Delete Branch "5881-createRolClaim"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
WIP: refs #5881 createRolAndGrantAclto refs #5881 createRolAndGrantAcl@ -0,0 +1,33 @@
INSERT INTO `account`.`role` (`id`, `name`, `description`, `hasLogin`)
VALUES (122, 'claimViewer','Trabajadores que consulta las reclamaciones ',1);
LLeva el id
@ -0,0 +2,4 @@
VALUES (122, 'claimViewer','Trabajadores que consulta las reclamaciones ',1);
INSERT INTO `account`.`roleInherit` (`role`,`inheritsFrom`)
VALUES (35, 122);
Mira si pots traure el id dinamicament, sino si quan pujes, algu ja ha fet un rol nou te fallara el insert id 122
@ -0,0 +1,33 @@
INSERT INTO `account`.`role` (`id`, `name`, `description`, `hasLogin`)
VALUES ('claimViewer','Trabajadores que consulta las reclamaciones ',1);
INSERT INTO `account`.`roleInherit` (`role`,`inheritsFrom`)
Molt bona!
@ -0,0 +21,4 @@
'getSummary'
);
INSERT INTO `salix`.`ACL` (`model`,`property`,`accessType`,`permission`,`principalType`,`principalid`)
Asi igual te has rallat un poc no??
Si haveres ficat els 4 insert jo crec que quedava mes clar i te lleves el select no?