/
githubmirror
/
ydb-embedded-ui
Обзор
Документация
Войти
/
githubmirror
/
ydb-embedded-ui
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/utils/hooks/useIsUserAllowedToMakeChanges.ts
4 строки
268 B
Hellen
feat(uiFactory)!: change types for hasAccess and onCreateDB (#4048)
23 июн 2026, 14:14
Не верифицирован
23 июн 2026, 14:14
27c17e4
Код
Авторство
О чём код?
// Permissions are derived from the current whoami query result (per-database), // not from a global slice, so they always match the currently selected database. // See useWhoami for details. export {useIsUserAllowedToMakeChanges, useIsViewerUser} from './useWhoami';