2025-03-19 23:41:29 +08:00
|
|
|
pub mod check_asset_permission;
|
2025-03-12 05:09:19 +08:00
|
|
|
pub mod create_asset_permission;
|
2025-03-19 23:35:56 +08:00
|
|
|
pub mod errors;
|
2025-03-12 05:09:19 +08:00
|
|
|
pub mod list_asset_permissions;
|
|
|
|
pub mod remove_asset_permissions;
|
2025-03-19 23:35:56 +08:00
|
|
|
pub mod types;
|
2025-03-19 23:41:29 +08:00
|
|
|
pub mod user_lookup;
|
2025-03-12 02:51:31 +08:00
|
|
|
|
2025-03-19 23:41:29 +08:00
|
|
|
// Export the primary functions
|
|
|
|
pub use check_asset_permission::{check_access, check_permissions, has_permission};
|
|
|
|
pub use create_asset_permission::{create_share, create_share_by_email, create_shares_bulk};
|
|
|
|
pub use list_asset_permissions::{list_shares, list_shares_by_identity_type};
|
|
|
|
pub use remove_asset_permissions::{remove_share, remove_share_by_email};
|
|
|
|
pub use types::AssetPermissionWithUser;
|
2025-03-19 23:48:56 +08:00
|
|
|
pub use user_lookup::find_user_by_email;
|