This PRD outlines the implementation of functionality to create or update asset permissions using email addresses as user identifiers within the sharing access controls system.
## Background
Users need to be able to share assets with other users by specifying their email addresses and the desired permission level. This requires enhancing the existing permission creation functionality to work with email addresses.
## Goals
- Implement a function to create or update permissions using email addresses
- Support Owner and FullAccess permission levels
- Validate inputs and handle errors appropriately
- Update existing records if permissions already exist
## Non-Goals
- Implementing UI components for sharing
- Handling organization-wide permission policies
- Supporting permission levels beyond Owner and FullAccess