remove remaining old permissions code and update api docs for roles and permissions
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
|
||||
ALTER TABLE m_permission
|
||||
DROP COLUMN `default_name` ,
|
||||
DROP COLUMN `default_description` ,
|
||||
ADD COLUMN `is_maker_checker` TINYINT(1) NULL DEFAULT AFTER `action_name` ;
|
||||
|
||||
update m_permission
|
||||
set is_maker_checker = false;
|
||||
|
||||
update m_permission
|
||||
set is_maker_checker = true
|
||||
where grouping not in ('special', 'report')
|
||||
and action_name != 'READ';
|
||||
Reference in New Issue
Block a user