"""Access constants.""" # feature names as defined in art_relations.features FEATURE_ANALYTICS = "Analytics" # user (vendor contact) roles as defined in art_relations.vendor_roles ROLE_ADMINISTRATOR = "Administrator" ROLE_ANALYTICS = "Analytics" # Access constants used for granting permissions ACCESS_ANALYTICS = "analytics" # TikTok filters (countries, etc.) FEATURE_INSIGHTS_TIKTOK_FILTERS = "insights_tiktok_filters" # Time-sliced product ownership access (product_transfer_history-aware permissions). FEATURE_INSIGHTS_TRANSFER_PRODUCT_OWNERSHIP = "insights_transfer_product_ownership" # Reclassify the "Listener's Collection" SOS bucket as Active for LINE Japan # (1503) and SoundCloud (1505) at read time (IN-17362). See # analytics/queries/sql/macros/source_of_streams_reclassification.sql. FEATURE_INSIGHTS_LINE_SOUNDCLOUD_COLLECTION_AS_ACTIVE = ( "insights_line_soundcloud_collection_as_active" ) # Read max_available_date from the *_PUBLISHED data-availability objects, which # dbt-analytics re-points only after the full upgrade_main_pipeline swap batch, # instead of the view over _DBT staging that flips to the new date ~40 minutes # before the streams/metrics tables swap (GO-4885). FEATURE_INSIGHTS_PUBLISHED_MAX_AVAILABLE_DATE = "insights_published_max_available_date"