I am using list “proto” in yang as shown below. One of the list entries “arp” should not visible to a specific user A but should be configurable as root. Other list entries should be visible for that specific user A.
list proto
{
key “name”;
leaf name {
type string;
description “key field”;}
}
I added the following AAA rule in nacm. Restricting user A from create, update and delete of this specific list entry works fine but this list entry can be read or is displayed in show command for user A.
<rule>
<module-name>proto</module-name>
<path>/proto[name='arp']</path>
<access-operations>read create update delete</access-operations>
<action>deny</action>
</rule>
Please let me know how to deny showing or hide this specific list entry for a specific user.