Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
"use strict";(self.webpackChunkgraylog_web_interface=self.webpackChunkgraylog_web_interface||[]).push([["e508fb3d-8443"],{r1b5BoLa:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r("Z7aTuO5B"),a=r("4Js8dUPg"),l=r("G9VqAO1I"),o=r("Mr++nPjW"),s=r("Mygg+ecz");const i=function(){return n.createElement(o.X2,{className:"content"},n.createElement(o.JX,{xs:12},n.createElement(o.bZ,{bsStyle:"info"},n.createElement(s.JO,{name:"info-circle"})," ",n.createElement("b",null,"Granting Permissions"),n.createElement("br",null),"With Graylog 4.0, we've updated the permissions system. Granting permissions for an entity like streams and dashboards is no longer part of the user edit page. It can now be configured using the ",n.createElement("b",null,n.createElement(s.JO,{name:"user-plus"})," Share")," button of an entity. You can find the button e.g. on the entities overview page. Learn more in the ",n.createElement(l.Z,{page:a.Z.PAGES.PERMISSIONS,text:"documentation"}),".")))}},"5F+DeP4Z":(e,t,r)=>{r.d(t,{Z:()=>s});var n=r("Z7aTuO5B"),a=r("Mygg+ecz"),l=r("Mr++nPjW"),o=n.createElement(l.J2,{id:"role-search-query-help",title:"Search Syntax Help"},n.createElement("p",null,n.createElement("strong",null,"Available search fields")),n.createElement(l.iA,{condensed:!0},n.createElement("thead",null,n.createElement("tr",null,n.createElement("th",null,"Field"),n.createElement("th",null,"Description"))),n.createElement("tbody",null,n.createElement("tr",null,n.createElement("td",null,"name"),n.createElement("td",null,"Role name")),n.createElement("tr",null,n.createElement("td",null,"description"),n.createElement("td",null,"Description of the Role")))),n.createElement("p",null,n.createElement("strong",null,"Examples")),n.createElement("p",null,"Find roles with a description containing creator:",n.createElement("br",null),n.createElement("kbd",null,"description:creator"),n.createElement("br",null)));const s=function(){return n.createElement(a.Ox,{trigger:"click",rootClose:!0,placement:"right",overlay:o},n.createElement(l.zx,{bsStyle:"link"},n.createElement(a.JO,{name:"question-circle"})))}},bG1UaFot:(e,t,r)=>{r.d(t,{Z:()=>s});var n=r("Z7aTuO5B"),a=r("EeAwn/0x"),l=r("DeVaSktS"),o=r("Mr++nPjW");const s=function(e){var t=e.userId,r=e.userIsReadOnly;return n.createElement(o.Si,null,n.createElement(a.J,{to:l.ZP.SYSTEM.USERS.show(t)},n.createElement(o.zx,{bsStyle:"success"},"View Details")),!r&&n.createElement(a.J,{to:l.ZP.SYSTEM.USERS.edit(t)},n.createElement(o.zx,{bsStyle:"success"},"Edit User")),n.createElement(a.J,{to:l.ZP.SYSTEM.USERS.TOKENS.edit(t)},n.createElement(o.zx,{bsStyle:"success"},"Edit Tokens")))}},e7CMv98P:(e,t,r)=>{r.r(t),r.d(t,{default:()=>xe});var n=r("Z7aTuO5B"),a=r("q/NP8wy0"),l=r("CfS4XPvw"),o=r("4Js8dUPg"),s=r("F95zaCK8"),i=r("Mygg+ecz"),c=r("HFSAzWdL"),u=r("Mr++nPjW"),m=r("5sZKlkP8"),d=r("6WrsI6bg");const p=function(e){var t=e.fullName;return n.createElement(u.X2,{className:"content"},n.createElement(u.JX,{xs:12},n.createElement(u.bZ,{bsStyle:"danger"},"The selected user ",t," can't be edited.")))};var f=r("meHY53jV"),b=r("Z/VRZyyK"),E=r("oLQvydmD"),h=r("ciwMbbCo"),g=r("EfCpThZW"),v=r("QnTPpFM+"),y=r("OM0gibYa"),S=r("8pZttqbT"),w=r("ovJfI32G"),N=r("m4MSdocP"),P=r("xxwliabF");function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Z(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0!==arguments[0]?arguments[0]:ce._;return u(!0),ie.Z.loadRolesForUser(a,e).then((function(e){return u(!1),e}))}),[a]),v=function(e){return r(e).then((function(){g().then(f),s.Z.load(l)}))};return n.createElement(m.Z,{title:"Roles",showLoading:c},n.createElement("h3",null,"Assign Roles"),n.createElement(fe,null,n.createElement(ue.Z,{onSubmit:function(e){var r=t.roles,n=e.map((function(e){return e.name})),a=r.union(n).toJS();return h(void 0),v({roles:a})},assignedRolesIds:t.roles,identifier:function(e){return e.name}})),n.createElement(i.hW,{onClose:h},E),n.createElement("h3",null,"Selected Roles"),n.createElement(fe,null,n.createElement(ce.Z,{noDataText:"No selected roles have been found.",onLoad:g,overrideList:p,onDeleteItem:function(e){var r,n=se.Set(t.roles.toJS()).remove(e.name).toJS();(r=n).includes("Reader")||r.includes("Admin")?(v({roles:n}),h(void 0)):(h("Roles must at least contain Admin or Reader role."),g().then(f))},queryHelper:n.createElement(me.Z,null)})))};const Ee=function(e){var t,r=e.user,a=D.PluginStore.exports("teams"),l=null==a||null===(t=a[0])||void 0===t?void 0:t.UserTeamsAssignment;return n.createElement(m.Z,{title:"Teams"},l?n.createElement(l,{user:r}):n.createElement(i.VL,{featureName:"teams"}))};var he=r("r1b5BoLa"),ge=r("1qPKgs3m"),ve=function(e,t,r,n){return s.Z.update(r,e,n).then((function(){r===(null==t?void 0:t.id)&&d.D.reload()}))};const ye=function(e){var t=e.user,r=(0,n.useContext)(c.Z);return t?t.readOnly?n.createElement(p,{fullName:t.fullName}):n.createElement(ge.Z,null,n.createElement(i.AE,{permissions:"users:edit:".concat(t.username)},n.createElement("div",null,t.external&&n.createElement(m.Z,{title:"External User"},n.createElement(u.bZ,{bsStyle:"warning"},"This user was synced from an external server, therefore neither the profile nor the password can be changed. Please contact your administrator for more information.")),!t.external&&n.createElement(ne,{user:t,onSubmit:function(e){return ve(e,r,t.id,t.fullName)}}),n.createElement(z,{user:t,onSubmit:function(e){return ve(e,r,t.id,t.fullName)}}),n.createElement(i.AE,{permissions:"users:passwordchange:".concat(t.username)},!t.external&&n.createElement(Y,{user:t})),n.createElement(oe,{user:t})),n.createElement("div",null,n.createElement(he.Z,null),n.createElement(i.AE,{permissions:"users:rolesedit"},n.createElement(be,{user:t,onSubmit:function(e){return ve(e,r,t.id,t.fullName)}})),n.createElement(i.AE,{permissions:"teams:edit"},n.createElement(Ee,{user:t}))))):n.createElement(i.$j,null)};var Se=r("G9VqAO1I"),we=r("bTqckGUg"),Ne=r("bG1UaFot");function Pe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,a,l=[],o=!0,s=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(l.push(n.value),!t||l.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==r.return||r.return()}finally{if(s)throw a}}return l}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Oe(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Oe(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Oe(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r