Sha256: 9b748425a162230ed4b3efadd6071d559fb65396b3b8eb1d6590ae027c76642e

Contents?: true

Size: 509 Bytes

Versions: 2

Compression:

Stored size: 509 Bytes

Contents

(function(conjur) {
    'use strict';

    conjur.models.UserList = function() {
        var options = {
            namespaceSelector: function(member) {
                var idTokens = member.id.split('@');

                if (idTokens.length > 1) {
                    return idTokens.slice(1, idTokens.length-1).join['@'];
                } else {
                    return null;
                }
            }
        };

        return conjur.models.ResourceList('user', options);
    };

})(conjur);

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
conjur-asset-ui-1.3.2 public/js/models/userList.js
conjur-asset-ui-1.3.0 public/js/models/userList.js