Question

Visiting IFrame dashboard deletes user from group

  • 7 October 2020
  • 6 replies
  • 84 views

Hello,


I encountered strange bug. Let’s start with the context:


I have created folder: muminek then removed all access. Only group called muminek_group left in access with label View. muminek_group contains 7 users.


Then I went to my website with embedded Looker iframe and logged in as one of those 7 users from muminek_group. I get response that I am not allowed to see the dashboard and user (that I’m currently logged in) is deleted from muminek_group. I believe it is a bug, but maybe I forgot about something?


Cheers,

Kornel


6 replies

Hello! I have the same issue.. Any solution or workaround?

Userlevel 2

Hi Kornel. 

 

1.Which version are you using?

 

2. Please share a sample of the URL generated.

 

I had a similar issue when using an empty array in python. If you are using only groups to manage access, you should use []   (not [''])

 

Best regards! 

Leo

 

 

Userlevel 2

lol I replied an old thread, anyway! The answer was  on using  empty arrays without quotes

 

Thanks for the quick response!

mmm

We’re using V3.

This is an example:

 "token": "https://lendx.cloud.looker.com/login/embed/embed%2Fdashboards%2F3?external_user_id=%22xxxxxx%22&last_name=%22xxxx%20xxxx%22&permissions=%5B%22access_data%22%2C%22see_looks%22%2C%22see_user_dashboards%22%2C%22see_lookml_dashboards%22%2C%22explore%22%2C%22create_table_calculations%22%2C%22download_with_limit%22%2C%22download_without_limit%22%2C%22see_drill_overlay%22%2C%22save_content%22%2C%22embed_browse_spaces%22%2C%22schedule_look_emails%22%2C%22schedule_external_look_emails%22%2C%22send_to_sftp%22%2C%22send_to_s3%22%2C%22send_outgoing_webhook%22%2C%22see_sql%22%2C%22send_to_integration%22%2C%22create_alerts%22%5D&models=%5B%22lendx%22%5D&access_filters=%7B%7D&force_logout_login=true&session_length=3600&nonce=%22HeafQdhh8Jy8bIpB%22&time=1651061863&signature=vvLHpnPN3CjxpRI385nyImO4zlE%3D"

Thanks in advance!

Userlevel 2

 

Hi Florencia

 

It looks like your URL is missing “groups_id” parameter:

 

URL of reference:

https://docs.looker.com/reference/embedding/sso-embed#parameters

 

Best regards,

Leo

Thanks for the suggestion Leobardor! We’ll try with this config and I’ll let you know.

Regards!

Reply