
INSERT IGNORE INTO salix.ACL (`model`,`property`,`accessType`,`permission`,`principalType`,`principalId`)
	VALUES ('Entry','filter','READ','ALLOW','ROLE','supplier');

INSERT IGNORE INTO salix.ACL (`model`,`property`,`accessType`,`permission`,`principalType`,`principalId`)
	VALUES ('Entry','getBuys','READ','ALLOW','ROLE','supplier');

INSERT IGNORE INTO salix.ACL (`model`,`property`,`accessType`,`permission`,`principalType`,`principalId`)
	VALUES ('Entry','buyLabel','READ','ALLOW','ROLE','supplier');

UPDATE salix.ACL
	SET principalId='$authenticated'
	WHERE id=(SELECT id FROM salix.ACL WHERE model='StarredModule' and property='*' and `accessType`='*' );


