Remove gear page edit button for OEM customer system Admin?
We've just deployed Skuid to an OEM customer, and applied the 'Skuid Page Viewer' permission set to all users, incl the Administrator. We would prefer them to not be able to edit our Skuid pages (at least in the early stages) ( so no one gets the builder permission set)
However, the edit/gear button is still showing for the Administrator, and he's been able to click and edit the page.

Unfortunately its too late to apply the apex class & trigger outlined at the bottom here http://help.skuidify.com/m/11217/l/121145-packaging-your-skuid-pages as the app has already passed sec review and we're technically not able to add another class in at this point...
Any suggestions as to how to prevent the admin from seeing this button?
Thanks.
However, the edit/gear button is still showing for the Administrator, and he's been able to click and edit the page.

Unfortunately its too late to apply the apex class & trigger outlined at the bottom here http://help.skuidify.com/m/11217/l/121145-packaging-your-skuid-pages as the app has already passed sec review and we're technically not able to add another class in at this point...
Any suggestions as to how to prevent the admin from seeing this button?
Thanks.
Tagged:
3
Categories
- 7.9K Questions
- 926 Ideas
- 220 Discussion Categories
- 178 General
- 9 Community Feedback
- 3 Community Info
- 18 Knowledge Base
Comments
One thing you can do is to hide the Edit Page DOM element after the page loads, by adding the following JavaScript to your Page(s): Regarding adding a Class and Trigger to your app post-Security Review, technically you can do this no problem --- just upload a new version of your package, and once it's on AppExchange, just click "Start Review" on that version. You'll walk through the Security Review wizard (8 steps or whatever it is), and at the end of it, your new version will be automatically approved, instantaneously --- no more money, no more lengthy review by the SFDC Security team. Once you've passed the first time, all subsequent Security Reviews are passed immediately and automatically.
In order to use this, you will have to add it as 'In-Line (Snippet)' and then call it using a page load action sequence.
Jquery cannot "hide" the element until it is rendered on the page, from what I understand.
.skuidEditBtn {
background-color: transparent;
color: transparent;
border: transparent;
-webkit-box-shadow: 0 0px 0px rgba(100,100,100,.4);
-moz-box-shadow: 0 2px 10px rgba(100,100,100,.4);
}
If you're building in U3, it may be because the Edit Page Button CSS changed slightly from U2 to U3. You should also be able to hide the Edit Page button using