Mixpanel Community Icon

Restricting User Access to Mixpanel Reports While Allowing Data Adjustments

·
·

I want to block an access from a user on a specific mixpanel report board, but he need to be able to change the data range, but he can't change the fields etc. How i can do that? ps.: he need the ability to save because we're using the insights api to retrieve that, and on our website we update that metrics dynamically from what we have on mixpanel date range.

  • Avatar of kapa.ai
    kapa.ai
    APP
    ·
    ·

    Hi Emanuel F., Please stand by as I search the Mixpanel knowledge base for an AI-powered answer. I normally take about 15 seconds or so. In case AI cannot answer your question, feel free to reach out to Mixpanel support at mixpanel.com/get-support. If you have follow-up questions for this thread, please tag me again with your question: @kapa.ai <follow-up question> đź‘‹

    Feel free to ask a follow-up question once I've answered by mentioning me with @kapa.ai

  • Avatar of kapa.ai
    kapa.ai
    APP
    ·
    ·

    Based on the information in the knowledge sources, you can control a user's access to a Mixpanel board by setting appropriate permissions. Here's how you can handle your specific requirements:

    Setting Board Permissions

    In Mixpanel, sharing and permissions are set at the board level, and all reports within that board inherit these settings. You can set a user as a "Viewer" of the board, which means they can view the content but any changes they make will not be saved.To set permissions: 1. Click the "Share" button at the top right of the board 2. Add the user you want to give limited access to 3. Set their permission level to "Viewer"Sharing and Permission

    The Challenge with Your Requirements

    There's a limitation with your specific requirements. According to the documentation, Viewers can change date ranges but cannot save changes. The permissions are binary - either someone is a Viewer (can't save changes) or an Editor (can save changes).The documentation states: "Teammates with access to a board can either be Viewers (any changes made will not be saved) or Editors (changes made will be saved)."

    Possible Solutions

    1. Data Views: If you're on an Enterprise plan, you could create a Data View that limits what data this user can see, while still giving them Editor permissions on the board. Data Views & Classification2. Project Role: You could set the user's Project Role to "Consumer" which has more limited capabilities while still allowing them to create and view reports. Project Roles3. Custom Solution: Since you're using the Insights API, you might need to build a custom solution where you: - Give the user Editor permissions so they can save date range changes - Use your application to restrict what they can modify through your interface - Use the API to only pull the specific data you want them to seeUnfortunately, there doesn't appear to be a built-in way to allow a user to save only date range changes while preventing other modifications to the reports on a board.

    kapa.ai is still learning and improving, please let me know how I did by reacting below.

    ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.