Could you tell me how to achieve add_router, the management of permissions, such as the request, the user. The groups. The filter (name = 'admin'). The exists () to True to this route #1301
Please describe what you are trying to achieve
Could you tell me how to achieve add_router, the management of permissions, such as the request, the user. The groups. The filter (name = 'admin'). The exists () to True to this route
Please include code examples (like models code, schemes code, view function) to help understand the issue
api = NinjaExtraAPI()
api.register_controllers(NinjaJWTDefaultController)
Please describe what you are trying to achieve Could you tell me how to achieve add_router, the management of permissions, such as the request, the user. The groups. The filter (name = 'admin'). The exists () to True to this route Please include code examples (like models code, schemes code, view function) to help understand the issue
api = NinjaExtraAPI() api.register_controllers(NinjaJWTDefaultController)
api.add_router("data", data.router, tags=['test'],auth=JWTAuth())