Sha256: ed8da73ab3145a9d8c645ac69789a3555b4a8a3c4430d2a4bdc0cad2c244eae4
Contents?: true
Size: 801 Bytes
Versions: 4
Compression:
Stored size: 801 Bytes
Contents
import { Registry } from './registry' import { UserControls } from './user_controls' import { GroupControls } from './group_controls' export class PermissionsControl { /** * Initialize the save controls * @param {jQuery} element the jquery selector for the permissions container * @param {String} object_name the name of the object to create * @param {String} template_id the identifier of the template for the added elements */ constructor(element, object_name, template_id) { if (element.size() == 0) { return } this.element = element this.registry = new Registry(this.element, object_name, template_id) this.user_controls = new UserControls(this.element, this.registry) this.group_controls = new GroupControls(this.element, this.registry) } }
Version data entries
4 entries across 4 versions & 1 rubygems