docs: function resolvePermission(params) {
    var dbPermissions = mBaaS.permission_map.db;
    if (params.act && dbPermissions && dbPermissions[params.act]) {
      params.requestedPermission = dbPermissions[params.act].requires;
    }
  }