mirror of https://github.com/nocodb/nocodb
Browse Source
* feat: api changes for user management * refactor: gift banner behaviour change * feat: user management api and ui changes * feat: introduce invited_by info * test: verify roles by checking datasource tab since access settings page will be available for all users now * feat: allow owner role update only if there is more than one owner exist * fix: role update behaviour correction * fix: base owner invite issue * fix: reload user roles state on changing roles of active user * refactor: show disabled button if not avail * refactor: hide dropdown and action menu options based on roles * refactor: migration file name * refactor: disable or hide option based on number of owners * refactor: hide user list in shared base * fix: review correctionpull/9230/head
Pranav C
3 months ago
committed by
GitHub
22 changed files with 189 additions and 70 deletions
@ -0,0 +1,16 @@
|
||||
import type { Knex } from 'knex'; |
||||
import { MetaTable } from '~/utils/globals'; |
||||
|
||||
const up = async (knex: Knex) => { |
||||
await knex.schema.alterTable(MetaTable.PROJECT_USERS, (table) => { |
||||
table.string('invited_by', 20).index(); |
||||
}); |
||||
}; |
||||
|
||||
const down = async (knex: Knex) => { |
||||
await knex.schema.alterTable(MetaTable.PROJECT_USERS, (table) => { |
||||
table.dropColumn('invited_by'); |
||||
}); |
||||
}; |
||||
|
||||
export { up, down }; |
Loading…
Reference in new issue