chore: do not allow modifying user document, so that people can't reset the deployed demo password
This commit is contained in:
parent
b6c6c267d9
commit
0ee6c31eda
@ -32,6 +32,15 @@ export default buildConfig({
|
||||
//editor: slateEditor({}),
|
||||
editor: lexicalEditor(),
|
||||
collections: [
|
||||
{
|
||||
slug: 'users',
|
||||
auth: true,
|
||||
access: {
|
||||
delete: () => false,
|
||||
update: () => false,
|
||||
},
|
||||
fields: [],
|
||||
},
|
||||
{
|
||||
slug: 'pages',
|
||||
admin: {
|
||||
|
Loading…
Reference in New Issue
Block a user