We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07c5de4 commit 226c694Copy full SHA for 226c694
adminforth/types/Common.ts
@@ -104,6 +104,13 @@ export interface AdminUser {
104
* User record fetched from database, from resource defined in {@link AdminForthConfig.auth.usersResourceId}
105
*/
106
dbUser: any,
107
+
108
+ /**
109
+ * Flag which indicates that this user is not real user from database, but external user from e.g. custom website.
110
+ * True here is not possible in AdminForth built-in functions, auth middleware etc.
111
+ * True value is only possible in your need to tell AdminForth that this is not real "fake" admin user
112
+ */
113
+ isExternalUser?: boolean,
114
}
115
116
0 commit comments