refactor(cloudfunc) getSymbolicPermissions
feature(commander) mode: str -> number