You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Added a new event wrapper to track the source of each event for
improved traceability.
* Introduced an attribute to specify allowed creation sources for
entities.
* Enhanced permission system with origin-based filtering for resource
creation.
* **Improvements**
* Enhanced event metadata to consistently include origin information
across various actions.
* Improved type safety and clarity in event representations and string
outputs.
* Updated event property accessibility for better integration and
flexibility.
* Extended resource discovery and authorization to consider source
identifiers.
* Added explicit permission checks for share-related events to enforce
access control.
* Implemented attribute-based access control checks on entity and
activity operations, enforcing security restrictions.
* Enriched event dispatching and orchestration with source context for
better provenance tracking.
* Refined resource permission logic to include origin-based validation.
* Added new global constants representing API and system sources for
authorization context.
* Included source context in HTTP API requests and authorization
headers.
* **Bug Fixes**
* Minor corrections to type declarations in event methods for stricter
typing compliance.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Signed-off-by: Robert Landers <landers.robert@gmail.com>
logger.Warn("User attempted to create new resource not authorized to create", zap.Any("id", id.String()), zap.Any("user", auth.GetUserFromContext(ctx)), zap.Error(err))
0 commit comments