xgeek-net / salesforce-devtools

Salesforce DevTools is a Chrome extension for Salesforce developer, based on everything we need in Salesforce development
https://www.xgeek.net/salesforce/tesforce-for-google-chrome/
117 stars 11 forks source link

Active button is not working #49

Open markhammer opened 4 years ago

markhammer commented 4 years ago

Hi, In v3.7.1, Non-System Administrator Profile users are not working DevTools. (They clicked Active button, but redisplayed.) In their profile, "API Enabled" permission is checked. Can you tell me if Salesforce DevTools need other permissions?

Many Thanks.

20200915_err01 20200915_err02 20200915_err03

xgeek-net commented 4 years ago

Hi, @markhammer Can you ensure that user has "View All Data" permission and try again? Feel free to let me know if it still does not work for you.

markhammer commented 4 years ago

Hi, @xgeek-net Thanks for your comment. I tried this procedure.

  1. Create Test User.(Profile=Standard User(Standard Profile))

  2. Login as Test User and click DevTools icon. -> Active button is redisplayed.

  3. Logout as Test User.

  4. Change Test User's profile(Checked "View All Data" Profile(Custom Profile))

  5. Login as Test User and click DevTools icon. -> Active button is redisplayed.😲

  6. Logout as Test User.

  7. Change Test User's profile(Profile=System Administrator(Standard Profile))

  8. Login as Test User and click DevTools icon. -> DevTools is worked.

  9. Logout as Test User.

  10. Change Test User's profile(Profile=Standard User(Standard Profile))

  11. Login as Test User and click DevTools icon. -> DevTools is worked.😲

This behavior is according to your specifications, or not? Many Thanks.

xgeek-net commented 4 years ago

Hi, @markhammer Thank you for your feedback, seems it is a bug, I will try to reproduce and fix it. If you can share the screenshot of Test User Profile that will be greatly helpful.

markhammer commented 4 years ago

Hi, @xgeek-net

Sorry, The previous procedure was incorrect. Correct procedure is here.

  1. Create Test User.(Profile=Standard User(Standard Profile))

  2. Login as Test User and click DevTools icon. -> Active button is redisplayed.

  3. Logout as Test User.

  4. Change Test User's profile(Checked "View All Data" Profile(Custom Profile))

  5. Login as Test User and click DevTools icon. -> DevTools is worked.

  6. Logout as Test User.

  7. Change Test User's profile(Profile=Standard User(Standard Profile))

  8. Login as Test User and click DevTools icon. -> DevTools is worked.😲

As you commented, DevTools is worked in "View All Data" permission. But DevTools still works when I switch back to Non-"View All Data" permission profile. Can you check if this behavior is correct?

Many Thanks.

View_All_Data.zip Standard_User.zip

ErikOostveen commented 3 years ago

It will be great for this bug to be fixed asap. I am seeing the same issue. It can be temporary fixed by being made administrator (toggle on/off) ... but a day later and the activate button won't authenticate properly.