mirror of
https://github.com/bitechdev/ResolveSpec.git
synced 2025-12-30 08:14:25 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eaf1133575 |
@@ -28,7 +28,7 @@ func loadSecurityRules(secCtx SecurityContext, securityList *SecurityList) error
|
|||||||
userID, ok := secCtx.GetUserID()
|
userID, ok := secCtx.GetUserID()
|
||||||
if !ok {
|
if !ok {
|
||||||
logger.Warn("No user ID in context for security check")
|
logger.Warn("No user ID in context for security check")
|
||||||
return fmt.Errorf("authentication required")
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
schema := secCtx.GetSchema()
|
schema := secCtx.GetSchema()
|
||||||
|
|||||||
Reference in New Issue
Block a user