@midwayjs/casbinInterfacesCasbinConfigOptionsVersion: NextSur cette pageCasbinConfigOptions Index PropertiesmodelPathpolicyAdapterpolicyWatcherusernameFromContextProperties modelPathmodelPath: stringpolicyAdapterpolicyAdapter: string | (applicationContext: IMidwayContainer) => Promise<Adapter> | AdapteroptionalpolicyWatcherpolicyWatcher?: Watcher | (applicationContext: IMidwayContainer) => Promise<Watcher>usernameFromContextusernameFromContext: (ctx: Context) => string