Replies: 6 comments
-
I'd also like to see documentation on how to add masquerade button to users show view. It's a common use case and it'd be great to have documented. |
Beta Was this translation helpful? Give feedback.
-
Route authentication with Devise and separate AdminUser:
|
Beta Was this translation helpful? Give feedback.
-
Route authentication with User and
|
Beta Was this translation helpful? Give feedback.
-
Started this in: https://github.com/excid3/madmin/blob/master/docs/authentication.md |
Beta Was this translation helpful? Give feedback.
-
What would this look like if one wanted to use basic http authentication? 😄 I guess I would have to redefine this method: |
Beta Was this translation helpful? Give feedback.
-
I haven't tested it yet, but I left an example for http basic auth on line 20: |
Beta Was this translation helpful? Give feedback.
-
👋
Something that would be good to document is how applications can implement a level of authentication for Madmin. Out of the box we produce an unauthenticated view, this is obviously not production ready.
Because authentication can be different from app to app, we'd prefer to not roll our own and to instead allow Developers to use their existing models instead.
What we'd like to see is:
Let us know if there's more information needed!
Beta Was this translation helpful? Give feedback.
All reactions