Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

refactor: add stronger typing to access control functions#2

Open
RickVM wants to merge 1 commit intopayloadcms:masterfrom
RickVM:master
Open

refactor: add stronger typing to access control functions#2
RickVM wants to merge 1 commit intopayloadcms:masterfrom
RickVM:master

Conversation

@RickVM
Copy link

@RickVM RickVM commented Sep 6, 2023

Hi! This adds typings to the user object.
Better and also consistent with how its done in src/access/isAdmin.ts

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments