{"comment":{"url":"https://api.github.com/repos/abstractj/keycloak/comments/25147719","html_url":"https://github.com/abstractj/keycloak/commit/630eecc8e5b783834e51784c6e2a00392598f9fd#commitcomment-25147719","id":25147719,"user":{"login":"abstractj","id":21758,"avatar_url":"https://avatars2.githubusercontent.com/u/21758?v=4","gravatar_id":"","url":"https://api.github.com/users/abstractj","html_url":"https://github.com/abstractj","followers_url":"https://api.github.com/users/abstractj/followers","following_url":"https://api.github.com/users/abstractj/following{/other_user}","gists_url":"https://api.github.com/users/abstractj/gists{/gist_id}","starred_url":"https://api.github.com/users/abstractj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abstractj/subscriptions","organizations_url":"https://api.github.com/users/abstractj/orgs","repos_url":"https://api.github.com/users/abstractj/repos","events_url":"https://api.github.com/users/abstractj/events{/privacy}","received_events_url":"https://api.github.com/users/abstractj/received_events","type":"User","site_admin":false},"position":88,"line":537,"path":"model/jpa/src/main/java/org/keycloak/models/jpa/RealmAdapter.java","commit_id":"630eecc8e5b783834e51784c6e2a00392598f9fd","created_at":"2017-10-24T02:41:14Z","updated_at":"2017-10-24T02:41:14Z","author_association":"OWNER","body":"@hmlnarik does something like this make sense to you at the form?\r\n\r\n```\r\n<div class=\"form-group\">\r\n            <label class=\"col-md-2 control-label\" for=\"actionTokenGeneratedByAdminLifespan\" class=\"two-lines\"> Operations: </label>\r\n            <div class=\"col-md-6 time-selector\">\r\n            <select name=\"actionTokenAttributeSelect\" id=\"actionTokenAttributeSelect\" ng-model=\"actionTokenAttribute\">>\r\n                <option ng-repeat=\"(actionTokenId, value) in actionTokenProviders\" value=\"{{actionTokenId}}\">{{actionTokenId}}</option>\r\n            </select>\r\n                <input class=\"form-control\" type=\"number\" required min=\"1\" max=\"31536000\" data-ng-model=\"realm.attributes[actionTokenId].time\"\r\n                       id=\"{{ 'actionTokenGeneratedByUserLifespan.' + actionTokenId}}\" name=\"{{ 'actionTokenGeneratedByUserLifespan.' + actionTokenId}}\">\r\n                <select class=\"form-control\" name=\"{{ 'actionTokenGeneratedByUserLifespanUnit.' + actionTokenId}}\" data-ng-model=\"realm.attributes[actionTokenId].unit\">\r\n                    <option value=\"Minutes\">{{:: 'minutes' | translate}}</option>\r\n                    <option value=\"Hours\">{{:: 'hours' | translate}}</option>\r\n                    <option value=\"Days\">{{:: 'days' | translate}}</option>\r\n                </select>\r\n                <button data-ng-click=\"unsetDefaultToken(actionTokenId)\">Unset and use default value</button>\r\n            </div>\r\n            <kc-tooltip>\r\n                {{:: ('action-token-generated-by-user-override-lifespan.' + actionTokenId + '.tooltip') | translate}}\r\n            </kc-tooltip>\r\n        </div>\r\n```"}}
{"actor":{"display_login":"abstractj"}}