Hi all,
I want to remove the capability of the user role user not to delete savedsearches and field extractions.
Any idea to do that?
Thanks
Are you looking for admin_all_objects?
how does that work @jeffland?
To do it via the web interface, navigate to Settings > Access controls (with your admin user of course) and select "Roles". Click the role "user" and remove said capability from his list.
does this capability won't allow the user role "user" delete anything?
Go ahead and try it! I wasn't able to delete (or modify) a saved search or field extraction without that role (of course you need to make sure that the knowledge object has only read permissions for "user" as well).
im having a problem right now. I cant open everything under the Setting tab. can you help me with this?
I saw that question, but unfortunately I have no idea what causes it and how to resolve the issue.
i accidentally removed the "search" on the user capabilities, i didnt saved it but what happens next is that i cannot open everything even if i am using the admin role.
See the answer there if it helps.
thanks, will look for it.
hi @jeffland i already added the admin_all_objects in the capability of the user access. but it does'nt hide the delete command in different objects. I want to restrict the user access to delete objects such as searches, field extractions, etc.
Did you make sure that the knowledge objects in question have the right permissions? In particular, they must not be write-enabled for the "user" role.
yes, they are not write enabled
Then a user with the role of user should not be able to edit them (unless of course he created them and they are his "privately shared" knowledge objects).
hello @jeffland, i can still see the delete option under the action column ..
What exactly do your permissions for that object look like, i.e. what is ticked when you click "Permissions" in the list of saved searches?
hi jeffland, here, refer to this image
That looks allright.
Are you sure that your role "user" does not have the capability admin_all_objects? It should be disabled in the .conf file, and the user should also not inherit it from another role.
@jeffland yes the user role does not have the capability admin_all_objects. by the way im using the default user role "user" . i did not create a new user access.
And did you make sure that this user "user" is only assigned to this "user" role? If it is, then I can't think of another reason why your user is able to delete knowledge objects.