Removing Admins in Scoped Application Administration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-18-2017 12:26 PM
I'm building a scoped app with Application Administration enabled. Created a scoped application admin role, and delegated it to a non-admin user in the system. Now I'm trying to use the "Remove app administration from admins" UI Action to take away the scoped app admin role from all of the regular admins, but I keep on getting an error from the system saying that doing so would lock everyone out of the scoped application. I'm a little hazy on the user/role requirements for a scoped app where no regular admins can access it. Can anyone explain it to me in layman's terms? I read through the Enable application administration article in the docs site, but it still isn't completely clear to me. Thank you!
- Labels:
-
Scoped App Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-18-2017 01:07 PM
Hello Bradford,
I'm not able to reproduce this. Can you please list the steps to reproduce this issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-18-2017 01:28 PM
Hey Pradeep,
Let me run through a quick scoped app I just made that has the error (note: instance is on Jakarta patch 3, personal dev instance)
1. Navigate to System Application -> Applications
2. Select "New" and pick the "Create custom application" option
3. Fill out the form. I opt to change the User role suffix from "user" to "admin", and I create a new table
4. Create the new application
5. Once the application is created, navigate to the new role and set it to only be Assignable by itself
6. Grant the role to a non-admin user either directly or via group management
7. Navigate back to the application, and enable app administration for admins
8. Enable Application administration in the scoped application (this part is a bit funky. I seem to need a cache.do and a logout/login for it to register)
9. Now click the "Remove app administration from admins" related link
I get an error "If that role contains is removed, no active users or admins will be able to access the application anymore"
If any of those steps don't look or sound right, please let me know. I'm still getting used to scoped applications.
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-18-2017 07:54 PM
Thanks for the update Bradford. I will take a look and get back to you with an update.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-19-2017 10:23 AM
I tried all the steps you have mentioned but was still not able to reproduce this issue. Which release are you trying this on?
I did my testing on Helsinki instance.