MCPcopy Create free account
hub / github.com/Macmod/godap / getObjectPermsForm

Function getObjectPermsForm

tui/ace.go:314–323  ·  view source on GitHub ↗
(object int, objectRight int, selectedObject func(string, int), selectedRight func(string, int))

Source from the content-addressed store, hash-verified

312}
313
314func getObjectPermsForm(object int, objectRight int, selectedObject func(string, int), selectedRight func(string, int)) *XForm {
315 form := NewXForm().
316 AddDropDown("Object Class", classVals,
317 object, selectedObject).
318 AddDropDown(
319 "Right", []string{"Create Child", "Delete Child", "Create & Delete Child"},
320 objectRight, selectedRight)
321
322 return form
323}
324
325func getPropertyPermsForm(property int, propertyRight int, selectedProperty func(string, int), selectedRight func(string, int)) *XForm {
326 form := NewXForm()

Callers 1

loadAceEditorFormFunction · 0.85

Calls 2

NewXFormFunction · 0.85
AddDropDownMethod · 0.80

Tested by

no test coverage detected