[GH-ISSUE #19] TypeScript error: Type '"deny"' is not assignable to type 'AUTH_ACCESS_DEFAULT | undefined' #12

Closed
opened 2026-05-23 08:38:20 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @appy-one on GitHub (May 19, 2022).
Original GitHub issue: https://github.com/appy-one/acebase-server/issues/19

Originally assigned to: @appy-one on GitHub.

When assigning a string value to defaultAccessRule property of the authentication setting in the AceBaseServer constructor, TypeScript will complain: Type '"deny"' is not assignable to type 'AUTH_ACCESS_DEFAULT | undefined'.

According to the docs the values 'deny', 'allow' and 'auth' should be able to be set

Originally created by @appy-one on GitHub (May 19, 2022). Original GitHub issue: https://github.com/appy-one/acebase-server/issues/19 Originally assigned to: @appy-one on GitHub. When assigning a string value to `defaultAccessRule` property of the `authentication` setting in the `AceBaseServer` constructor, TypeScript will complain: Type '"deny"' is not assignable to type 'AUTH_ACCESS_DEFAULT | undefined'. According to the docs the values 'deny', 'allow' and 'auth' should be able to be set
gitea-mirror 2026-05-23 08:38:20 -06:00
  • closed this issue
  • added the
    types
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/acebase-server#12
No description provided.