]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/smb: add login_control and restrict_access attributes to share
authorJohn Mulligan <jmulligan@redhat.com>
Mon, 6 May 2024 20:35:41 +0000 (16:35 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Wed, 19 Jun 2024 13:29:42 +0000 (09:29 -0400)
commit65bd6f9686149cfabd8c046df528bb604ecfdf29
tree3b8f79a6dd70e7238e854c836f885f0219e56745
parent7efac8f077a12be2945de71b98228ea2ea4d3ae8
mgr/smb: add login_control and restrict_access attributes to share

The login_control attribute contains a list of LoginAccessEntry objects.
These will be mapped to samba share access parameters.
The restrict_access attribute is a boolean that makes access to the
share contingent on being listed in the login_control list, as
either a listed user or member of a listed group, for any access
level other than 'none' (as that always denies access).

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/pybind/mgr/smb/resources.py