mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 01:45:10 +03:00
## I have read the [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) file. YES ## What kind of change does this PR introduce? Small follow up to add these two rows on @phamhieu request: <img width="585" height="175" alt="Screenshot 2026-03-24 at 11 18 27" src="https://github.com/user-attachments/assets/5c08f8d4-e63e-491c-8731-db4b40e63ca7" /> --------- Co-authored-by: Ali Waseem <waseema393@gmail.com> Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
16 lines
322 B
TypeScript
16 lines
322 B
TypeScript
import { permissions } from '@supabase/shared-types'
|
|
|
|
export interface Permission {
|
|
id: string
|
|
label: string
|
|
description: string
|
|
}
|
|
|
|
export const PERMISSIONS: Permission[] = Object.values(permissions.FgaPermissions.PROJECT).map(
|
|
(perm) => ({
|
|
id: perm.id,
|
|
label: perm.id,
|
|
description: perm.title,
|
|
})
|
|
)
|