Work on sort of permission per family+module

This commit is contained in:
Laurent Destailleur
2019-10-17 19:33:06 +02:00
parent de396dc9b3
commit 005b1b12c4
3 changed files with 9 additions and 3 deletions

View File

@@ -50,6 +50,7 @@ UPDATE llx_c_units SET label = 'SurfaceUnitm2' WHERE code IN ('M2');
-- For v11
ALTER TABLE llx_rights_def ADD COLUMN module_position INTEGER NOT NULL DEFAULT 0;
ALTER TABLE llx_rights_def ADD COLUMN family_position INTEGER NOT NULL DEFAULT 0;
ALTER TABLE llx_bom_bom ADD COLUMN duration double(8,4) DEFAULT NULL;
ALTER TABLE llx_bom_bomline ADD COLUMN position integer NOT NULL DEFAULT 0;

View File

@@ -23,6 +23,7 @@ create table llx_rights_def
libelle varchar(255),
module varchar(64),
module_position integer NOT NULL DEFAULT 0,
family_position integer NOT NULL DEFAULT 0,
entity integer DEFAULT 1 NOT NULL,
perms varchar(50),
subperms varchar(50),