use $type_workspacepermission instead of string
script to reset permissions for all disabled users
fix error on line 227