mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-09-03 20:52:56 -05:00
Initial implementation of automount support
Add argument handling to crud.Del Make get_list handle LDAP scope
This commit is contained in:
@@ -46,6 +46,11 @@ class Del(frontend.Method):
|
||||
def get_args(self):
|
||||
yield self.obj.primary_key
|
||||
|
||||
def get_options(self):
|
||||
for param in self.obj.params_minus_pk():
|
||||
yield param
|
||||
for option in self.takes_options:
|
||||
yield option
|
||||
|
||||
class Mod(frontend.Method):
|
||||
def get_args(self):
|
||||
@@ -54,6 +59,8 @@ class Mod(frontend.Method):
|
||||
def get_options(self):
|
||||
for param in self.obj.params_minus_pk():
|
||||
yield param.__clone__(required=False)
|
||||
for option in self.takes_options:
|
||||
yield option
|
||||
|
||||
|
||||
class Find(frontend.Method):
|
||||
|
||||
Reference in New Issue
Block a user