Description
the function of '_.omit(object, *keys)' is as follows:
for example:
_.omit(
,'userid');
will return
=>
in ranger-admin Web UI, some codes are as follows:
/** * @function schema * This method is meant to be used by UI, * by default we will remove the unrequired attributes from serverSchema */ schemaBase : function(){ var attrs = _.omit(this.serverSchema, 'id', 'createDate', 'updateDate', "version", "createDate", "updateDate", "displayOption", "permList", "status", "updatedBy");
the keys of 'createDate' and 'updateDate' are duplicated.
Attachments
Attachments
Issue Links
- links to