8 lines
294 B
JavaScript
8 lines
294 B
JavaScript
/**
|
|
* Builds the fixed `roles` field the plugin injects into the auth collection.
|
|
*
|
|
* Saved to the JWT so role checks avoid a database lookup. Only admins can
|
|
* change roles, preventing privilege escalation by lower-privilege users.
|
|
*/ export { };
|
|
|
|
//# sourceMappingURL=rolesField.d.js.map
|