- Updated the OAuth guard to set authorized information in the context using the new authorized package. - Refactored the GetAuthorizedInfo function to utilize the authorized.GetInfo method, improving clarity and maintainability. - Enhanced the ACL implementation by adding scope resolution logic in the Enforce method, ensuring proper access control based on user roles and scopes. - Improved error handling and logging during ACL operations, providing better insights into access decisions. |
||
|---|---|---|
| .. | ||
| dsl | ||
| file | ||
| hello | ||
| kb | ||
| oauth | ||
| testutils | ||
| user | ||
| config_test.go | ||
| openapi_test.go | ||