[sysrepo-devel] how to block user from editing the running
Lukas Macko -X (lmacko - PANTHEON TECHNOLOGIES at Cisco)
lmacko at cisco.com
Mon Nov 28 07:06:46 UTC 2016
Hi Joan,
currently, there is no option for that. However, there is an ongoing discussion https://github.com/sysrepo/sysrepo/issues/571 about the subject.
Regards,
Lukas
From: sysrepo-devel [mailto:sysrepo-devel-bounces at sysrepo.org] On Behalf Of Joan Landry
Sent: Sunday, November 27, 2016 12:55 PM
To: Rastislav Szabo -X (raszabo - PANTHEON TECHNOLOGIES at Cisco) <raszabo at cisco.com>; sysrepo-devel at sysrepo.org
Subject: Re: [sysrepo-devel] how to block user from editing the running
Is there a way to change this capability - via some type of enabale/disable option?
If so can you point me to what I need to modify to make the capabilities to not include writable-running?
Meaning I want to only allow the user to use the edit-config on candidate - then commit to running.
And not allow direct editing of running.
Thanks,
From: Rastislav Szabo -X (raszabo - PANTHEON TECHNOLOGIES at Cisco) [mailto:raszabo at cisco.com]
Sent: Tuesday, November 15, 2016 7:51 AM
To: Joan Landry <JoLandry at advaoptical.com<mailto:JoLandry at advaoptical.com>>; sysrepo-devel at sysrepo.org<mailto:sysrepo-devel at sysrepo.org>
Subject: RE: how to block user from editing the running
Hi,
There is no API that would force running datastore to be non-writeable in Sysrepo. Anyway, if this was demanded, I would rather put the switch to disable writeable-running capability to Netopeer2 server and not into datastore.
Rastislav
From: sysrepo-devel [mailto:sysrepo-devel-bounces at sysrepo.org] On Behalf Of Joan Landry
Sent: Thursday, November 10, 2016 5:47 PM
To: sysrepo-devel at sysrepo.org<mailto:sysrepo-devel at sysrepo.org>
Subject: [sysrepo-devel] how to block user from editing the running
Is there a way to prevent (not allow) the user to directly edit the running date store.
I would like to make sure the users can only edit the candidate - and issue a commit to change the running.
But not sure how to block this - any ideas?
Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sysrepo.org/archives/sysrepo-devel/attachments/20161128/be77dfcf/attachment.html>
More information about the sysrepo-devel
mailing list