Torkel Ödegaard
73eaba076e
wip: dashboard acl ux2, #10747
2018-02-14 15:03:22 +01:00
Daniel Lee
9cdc1428d7
Merge remote-tracking branch 'upstream/master' into add_permissions_10676
2018-02-01 14:02:14 +01:00
Daniel Lee
9ef64d3056
dashfolders: special case for folders in root
...
Allow users to change permissions inherited from root.
2018-01-31 15:34:05 +01:00
Johannes Schill
666d29fafa
dashfolders: POC - Use separate component for "Add permission" #10676
2018-01-31 10:39:38 +01:00
Daniel Lee
d74a98feff
dashfolders: link to folder for inherited permissions
...
In the permissions view in dashboard settings, this adds a
link to the parent folder for inherited permissions. Which
allows the user to easily navigate to the folder and change
inherited permissions.
2018-01-29 16:10:47 +01:00
Johannes Schill
51b0f2b0c8
dashfolders: Get rid of unused import #10275
2018-01-29 14:53:10 +01:00
Johannes Schill
787b493c00
dashfolders: Use grafana's question mark instead of FA's and use the react tooltip instead of angular's #10275
2018-01-29 14:53:10 +01:00
Daniel Lee
5ee2d1de05
dashfolders: select with description for permissions
...
The dropdown for selecting permission is a new component built on
react-select that includes a description for the permission for
every option in the select.
2018-01-29 13:56:12 +01:00
Daniel Lee
a7fba593df
dashfolders: add help popover. Add folder title for inherited permissions
2018-01-27 18:16:21 +01:00
Daniel Lee
50b20a0e5a
dashfolders: use react component for dashboard permissions
...
Switch out the angular component for the new react component on the
dashboard permissions editview on the settings page.
2018-01-27 17:26:40 +01:00
Daniel Lee
ccd86873e7
dashfolders: autosave permissions on change (remove update button)
2018-01-26 14:02:22 +01:00
Johannes Schill
0722ea04a6
dashfolders: Clean up more variables and move newType, aclTypes and permissionOptions to the store #10275
2018-01-25 15:37:05 +01:00
Johannes Schill
4ea9f3027a
dashfolders: Remove variables not used and pass in the real dashboardId #10275
2018-01-25 15:36:56 +01:00
Johannes Schill
3a94918b8f
dashfolders: Rename UserPicker folder => Picker. Inject the permission-store in the FolderPermissions-container instead of the Permissions component, add the PermissionsStore to the RootStore and and the error-message to the Permissions-store #10275
2018-01-25 15:36:04 +01:00
Johannes Schill
126607de83
dashfolders: Add Permissions information box #10275
2018-01-25 15:33:56 +01:00
Johannes Schill
5a9fe9aff9
dashfolders: Add a Team Picker component and use it on the dashboard permissions page #10275
2018-01-25 15:33:11 +01:00
Johannes Schill
6b9858c1d3
dashfolders: Working user picker on the dashboard permissions page #10275
2018-01-25 15:30:43 +01:00
Johannes Schill
1d8ce3673e
dashfolders: Remove the PermissionsInner-strategy since we have a container for this route now #10275
2018-01-25 15:20:56 +01:00
Johannes Schill
a5d441e78e
dashfolders: Permissions are injected via MST so it needs to be defined as optional #10275
2018-01-25 15:20:37 +01:00
Johannes Schill
f23fb740a9
dashfolders: Add FolderPermissions container and make sure isFolder is passed to PermissionsStore #10275
2018-01-25 15:20:00 +01:00
Johannes Schill
7e13d0f773
dashfolders: Always get dashboardid and backendsrv from props #10275
2018-01-25 15:19:41 +01:00
Johannes Schill
3490c44636
dashfolders: Rem code to avoid tests to fail #10275
2018-01-25 15:19:30 +01:00
Johannes Schill
44ea8e58e2
wip: More on the permissions. Left are team picker and user picker, tests and error messages #10275
2018-01-25 15:19:17 +01:00
Johannes Schill
c8193e10b9
dashfolder: wip: More wip on acl.html2permissions.tsx #10275
2018-01-25 15:18:16 +01:00
Johannes Schill
7616cfb5f0
dashfolders: wip - Move Permissions into React #10275
2018-01-25 15:14:59 +01:00