- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2014 02:15 PM
I built a custom application and on one instance it works great but when trying to pull the update set it messed up. So I ended up rebuilding it completely on a different instance and it work the exact same (for admin). But when I impersonate a user that will be using the app none of the scripts run. No client scripts, no UI Policies, nothing but as an admin all 4 of us can use it and it works perfectly. Would any one know why this would happen and how to fix it?
-Josh
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2014 06:29 AM
When you load a page as a non-admin, are there any errors on the page? What you're describing appears to be that some script that is applied on-load is erroring out, preventing the rest of the client scripts and ui policies from loading. Use firebug and load the page, and see what errors come up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2014 08:02 PM
Hi Josh,
As Terri said, you need to check your ACLs.
As you said you have created a New App, we are assuming that a new Table was created too.
You need to check if your Non-Admin Users have Read/Write Access to this table and on its Fields.
This should get your issue solved.
Thanks,
Subhajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2014 09:19 PM
Hi Josh,
You should check for ACL's on that table and see if the user has Read,Write access. Also I would suggest that you look into business rules (of type Query), see if there any code written which is restricting regular users from running scripts, if yes, make this business rule inactive.
Thanks & Regards,
Hari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2014 05:33 AM
The ACL is correct. And looking at business rules there are no rules associated with the table or application. There is not a global rule either since the users can see scripts on every other app but this one. *see response to Terri.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2014 07:03 AM
Josh, (you might have checked this already) you can check if there are multiple ACLs for read/write on this table, also any field level or parent level (ACLs on parent table if you have extended any) and see if there is any conflict. Incase you are on your dev instance, you can disable all the ACLs on the table and check if you can execute the query as a regular user. This way you can isolate the issue to ACLs and then go on with debugging the right one.
Thanks & Regards,
Hari