Skip to content

Managing Access with Application Roles

Overview

When users access Honeycomb Maps, they are assigned an application role that defines their permissions and capabilities within the application. Application roles control what users can see and what actions they can perform.

Application Roles

Honeycomb Maps supports three application roles:

HONEYCOMB_APP_ADMIN

Designed for users who administer Honeycomb Maps within an organization.

Capabilities:

  • View all maps created by any user, including private maps
  • View all users who have accessed the application
  • Manage all maps regardless of ownership
  • Set and remove featured maps
  • Restore accidentally deleted maps
  • Reassign map ownership
  • Modify sharing settings for any map
  • Call administrative stored procedures (SET_APPLICATION_SCALE and SET_WAREHOUSE_SIZE)

HONEYCOMB_APP_EDITOR

Designed for data teams and data-focused business analysts who create maps.

Capabilities:

  • Create new maps
  • Edit maps they own
  • Edit maps shared with them (when granted edit permissions)
  • Share maps with other users
  • View maps shared with them
  • Modify metadata tables (maps, permissions)

HONEYCOMB_APP_VIEWER

Designed for business and operations teams who interact with pre-created maps.

Capabilities:

  • View maps that have been shared with them
  • Read-only access to metadata tables
  • Cannot create or edit maps

Note: Application roles are inclusive. A user with the HONEYCOMB_APP_EDITOR role also has all permissions of the HONEYCOMB_APP_VIEWER role. Users should only be granted a single application role. If a user is granted multiple roles, the most privileged role will be used.

Managing Application Role Assignments

To assign application roles to Snowflake account roles:

Using the Snowsight UI

  1. Navigate to the application management interface
  2. Click on the Access Management tab
  3. Click Add next to "Account Roles with Access"
  4. Select which Snowflake account roles should have access to Honeycomb Maps
  5. Assign the appropriate application role to each account role
Screenshot the Snowflake Snowsight UI for granting RCR permissions

Using SQL

Grant application roles to Snowflake account roles using SQL statements:

sql
GRANT APPLICATION ROLE HONEYCOMB_APP_ADMIN TO ROLE <your_admin_role>;
GRANT APPLICATION ROLE HONEYCOMB_APP_EDITOR TO ROLE <your_editor_role>;
GRANT APPLICATION ROLE HONEYCOMB_APP_VIEWER TO ROLE <your_viewer_role>;
GRANT APPLICATION ROLE HONEYCOMB_APP_ADMIN TO ROLE <your_admin_role>;
GRANT APPLICATION ROLE HONEYCOMB_APP_EDITOR TO ROLE <your_editor_role>;
GRANT APPLICATION ROLE HONEYCOMB_APP_VIEWER TO ROLE <your_viewer_role>;

Example: Role Assignment Strategy

Scenario: Speedy Delivery Company uses Honeycomb Maps to monitor delivery performance by H3 hexagon.

Teams and Snowflake Roles:

  • Data Engineering Team (Snowflake role: DATA_ENGINEERING): Manages aggregated delivery statistics tables and administers Snowflake
  • Business Analytics Team (Snowflake role: BUSINESS_ANALYTICS): Creates visualizations from delivery data to share with the business
  • Operations Team (Snowflake role: OPERATIONS): Views visualizations daily to identify problem areas

Recommended Application Role Mapping:

Snowflake RoleApplication RoleRationale
DATA_ENGINEERINGHONEYCOMB_APP_ADMINEnables viewing all users and maps, reassigning map ownership when employees leave, and restoring deleted maps
BUSINESS_ANALYTICSHONEYCOMB_APP_EDITORAllows creating maps and editing shared maps from team members
OPERATIONSHONEYCOMB_APP_VIEWERProvides access to view shared maps without creation or editing capabilities

Note: Requirements vary by organization. Design your role mapping strategy based on your team structure and workflows.

Application Roles and Resource Permissions

Application roles have different levels of access to Honeycomb Maps resources:

Metadata Tables

Honeycomb Maps stores metadata in Snowflake tables within the CONFIG schema. Access permissions vary by role:

  • HONEYCOMB_APP_ADMIN: Full read and write access to all metadata tables
  • HONEYCOMB_APP_EDITOR: Can modify maps and permissions tables; read-only access to other tables
  • HONEYCOMB_APP_VIEWER: Read-only access to metadata tables

See Accessing Map Metadata with SQL Queries for details.

Administrative Procedures

Only users with the HONEYCOMB_APP_ADMIN role can execute administrative stored procedures:

  • SET_APPLICATION_SCALE: Configure application scaling settings
  • SET_WAREHOUSE_SIZE: Adjust warehouse size for the application

Best Practices

  • Principle of least privilege: Assign the minimum application role needed for users to perform their tasks
  • Document role mappings: Maintain documentation of which Snowflake roles are mapped to which application roles
  • Centralize administration: Limit HONEYCOMB_APP_ADMIN role to a small group of trusted administrators