7daa0a05e3
Fix spelling ( #46191 )
2022-03-03 19:16:44 +01:00
19266ad3de
Docs: Add documentation for dashboard and folder roles ( #46171 )
...
* Add docs for dashboard and folder permissions
* Add docs for dashboard and folder roles
* Update docs/sources/enterprise/access-control/fine-grained-access-control-references.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/enterprise/access-control/fine-grained-access-control-references.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2022-03-03 18:29:16 +01:00
46360ca0c3
Docs: refactored manage users and permissions content ( #44343 )
...
* initial refactor
* initial draft for teams
* restructed topics, added front matter
* modified aliases
* removes old files
* removed files
* initial refactor
* initial draft for teams
* restructed topics, added front matter
* modified aliases
* removes old files
* removed files
* final xrefs updates
* xref adjustment
* copy updates
* copy and content updates to about, add to org, add user, admin
* copy updates to remove user from org
* update org vs server admin section names, cross-link
* cross-link add and invite users to org
* add remaining cross-links between org and server admin
* add dashboard permissions table
* add permissions information to teams
* add copy invite instructions to invite management
* tweaks and link updates
* incorporated PM feedback
* fixed xrefs
* yarn prettier
* fix codespell
* combined teams and dashboard permissions content
Co-authored-by: Mitchel Seaman <mitchel.seaman@gmail.com>
2022-02-15 13:20:45 -06:00
9ac4843df1
Documentation for teams with FGAC ( #45321 )
...
* docs for teams with FGAC
* Update docs/sources/enterprise/access-control/fine-grained-access-control-references.md
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2022-02-11 18:00:13 +01:00
b38d3f339a
Documentation for granting and revoking access for teams. ( #44863 )
2022-02-04 13:17:25 +01:00
2053049c40
Remove service accounts from public documentation as it's not being released yet ( #44658 )
2022-01-31 16:37:51 +01:00
11fa9801f2
AccessControl: Provisioning for teams ( #43767 )
...
* AccessControl: Provisioning for teams
* Docs: Add fixed role team assignment to full example
Co-authored-by: gamab <gabi.mabs@gmail.com>
Co-authored-by: Jguer <joao.guerreiro@grafana.com>
2022-01-14 10:28:06 +01:00
8271bc73f9
Update docs for ds permissions access control permisisons ( #43346 )
2022-01-11 14:52:33 +01:00
d997e051c2
AccessControl: Document role display name ( #40068 )
...
* docs: role displayname
* Update docs/sources/enterprise/access-control/roles.md
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
* Update docs/sources/enterprise/access-control/roles.md
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
* refactor: update accesscontrol based on fixed roles
* update displayname text
* Update docs/sources/enterprise/access-control/roles.md
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
* updated group
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
Co-authored-by: eleijonmarck <eleijonmarck@Erics-MBP.home>
2021-11-29 15:06:10 +01:00
5043448769
[Docs] Document FGAC user role assignment ( #41797 )
2021-11-24 22:50:48 +01:00
18b5e40d5a
Docs: Update the coverage of fine-grained access control ( #41398 )
...
* Docs: Update the coverage of fine-grained access control
* Apply suggestions from code review
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>
2021-11-24 21:32:07 +01:00
a93e649af5
AccessControl: Document orgs
roles and orgs
endpoints ( #42171 )
...
* AccessControl: Document `orgs` roles and `orgs` endpoints
* Use maintainer instead of manager
2021-11-24 10:08:55 +01:00
d623285fcc
Access Control: Rename fixed roles ( #41288 )
...
* Rename fixed roles
* Update descriptions
* Update docs for fixed roles and permissions
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
2021-11-17 15:40:39 +01:00
1b2a1a9621
update permissions scopes and description for role scopes ( #40206 )
2021-10-08 10:08:42 -04:00
efbb4c890f
Access Control: Add scope type prefix ( #40076 )
...
* prefix runtime scopes with key type
2021-10-07 11:54:43 +02:00
71c6d7285e
AccessControl: document FGAC licensing permissions ( #39192 )
...
* document licensing permissions and roles
* Update docs/sources/enterprise/access-control/fine-grained-access-control-references.md
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
* Update docs/sources/enterprise/access-control/permissions.md
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
* update action name for "licensing.reports:read"
* put licensing editor role back in, more table formatting
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2021-10-05 18:35:01 +02:00
4160429b71
AccessControl: rename data source id read action ( #39966 )
2021-10-05 09:39:00 +02:00
6aa006b699
AccessControl: Document new permissions restricting data source access. ( #39091 )
...
* Add data sources roles and permissions to docs
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2021-09-29 17:45:27 +02:00
f3002931f4
PluginsCatalog: adding error information about disabled plugins. ( #39171 )
...
* added errors in plugin list.
* added error to details page.
* adding badge on details page.
* added some more tests.
* Renamed to disabled and will handle the scenario in the plugin catalog.
* Update public/app/features/plugins/admin/components/PluginDetailsDisabledError.tsx
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
* fixing some nits
* added missing isDisabeld to the mock.
* adding tests to verify scenarios when plugin is disabled.
* fixed issue with formatting after file changed on GH.
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
2021-09-20 09:08:00 +02:00
0d2e68537c
Alerting: Cleanup template, silence and notification files created du… ( #39007 )
...
* Alerting: Cleanup template, silence and notification files created during tests
* Create tempdir for testing, delete afterwards and check for errors
* Refactoring error checks
* Update docs/sources/enterprise/access-control/fine-grained-access-control-references.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/administration/configuration.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/enterprise/access-control/fine-grained-access-control-references.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-09-15 18:48:52 -03:00
8537b36be2
Access control: Document new permissions restricting access for reloading provisioning configuration ( #38906 )
...
* Access control: Document new permissions restricting access for reloading provisioning configuration
* Apply suggestions from code review
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
2021-09-15 17:58:20 +02:00
6e639f3c72
Admin: Update stats page UI ( #38014 )
...
* Add StatCard
* Style cards
* Update types
* Add tests
* Move stats tab into licencing
* Prevent UI jumps when loading stats
* Fix merge conflicts
* Revert docs format
2021-08-24 19:13:48 +03:00
e8faa2c900
Build pipeline: Cleanup PR pipeline steps ( #38447 )
...
* Refactor dependencies
* Regenerate drone.yml
* Reorder steps in starlark files
* Make build depend on test
* Make test steps depend on lint
* Make gen-version step depend on build steps
2021-08-24 17:07:06 +02:00
864c526d9a
Access Control: Update docs with the correct scope name ( #38444 )
...
* Update docs with the correct scope name
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
2021-08-23 16:39:40 +02:00
e124167d05
access control: 1527/Correct grammar in usage-scenarios ( #35142 )
...
* First revision
* Update docs/sources/enterprise/access-control/usage-scenarios.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/enterprise/access-control/usage-scenarios.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Note about creating roles
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: Daniel Lee <dan.limerick@gmail.com>
2021-08-23 11:37:19 +02:00
06368abf44
Accesscontrol fix permission name ( #37717 )
...
* Fixes permission name for services:accesscontrol
2021-08-10 11:11:13 +02:00
b78a67cec7
PackageJson: Prettify markdown/mdx on commit with lint-staged ( #37616 )
...
* Format md,mdx files with prettier on lint-staged
* Manually run prettier on docs/sources
2021-08-06 07:52:36 -06:00
2fd7031102
Access Control: Add fine-grained access control to explore ( #35883 )
...
* add fixed role for datasource read operations
* Add action for datasource explore
* add authorize middleware to explore index route
* add fgac support for explore navlink
* update hasAccessToExplore to check if accesscontrol is enable and evalute action if it is
* add getExploreRoles to evalute roles based onaccesscontrol, viewersCanEdit and default
* create function to evaluate permissions or using fallback if accesscontrol is disabled
* change hasAccess to prop and derive the value in mapStateToProps
* add test case to ensure buttons is not rendered when user does not have access
* Only hide return with changes button
* remove internal links if user does not have access to explorer
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2021-07-02 14:43:12 +02:00
d42d874240
AccessControl: Fix docs link to localhost ( #36233 )
...
* AccessControl Correct link to localhost
* Removed extra parenthesis in relref definition
2021-06-28 21:11:09 +02:00
395b942134
Access Control: Add fine-grained access control to GET stats and settings handlers ( #35622 )
...
* add accesscontrol action for stats read
* use accesscontrol middleware for stats route
* add fixed role with permissions to read sever stats
* add accesscontrol action for settings read
* use accesscontrol middleware for settings route
* add fixed role with permissions to read settings
* add accesscontrol tests for AdminGetSettings and AdminGetStats
* add ability to scope settings
* add tests for AdminGetSettings
2021-06-14 17:36:48 +02:00
36c997a625
Access Control: Add fine-grained access control to ldap handlers ( #35525 )
...
* Add new accesscontrol action for ldap config reload
* Update ldapAdminEditRole with new ldap config reload permission
* wrap /ldap/reload with accesscontrol authorize middleware
* document new action and update fixed:ldap:admin:edit with said action
* add fake accesscontrol implementation for tests
* Add accesscontrol tests for ldap handlers
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
2021-06-11 15:58:18 +02:00
e75c6a748b
Access-Control: Document changes to the provisioner ( #35548 )
2021-06-11 13:57:49 +02:00
92adf2e4ff
Access control: Update docs with new settings permission ( #35413 )
...
* Update docs with new action and scopes for settings
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
2021-06-10 13:20:28 +02:00
dc7a641978
Docs: Fix code sample for access control provisioning ( #35406 )
2021-06-09 13:47:21 +02:00
2bbf4fa405
AccessControl: Update permissions and scopes in docs ( #35263 )
...
* Saving the current changes made with @osg-grafana @donomii
* Update remaining descriptions
* Update docs/sources/enterprise/access-control/permissions.md
Co-authored-by: Vardan Torosyan <vardants@gmail.com>
* Cleanup grammar
Co-authored-by: Jeremy Price <Jeremy.price@grafana.com>
Co-authored-by: Vardan Torosyan <vardants@gmail.com>
2021-06-04 18:10:49 +02:00
134dba5101
Provisioning: Update accesscontrol sample file
2021-06-02 17:22:34 +02:00
99839ee060
Change weight of reference, so they display last. ( #35112 )
2021-06-02 16:49:32 +02:00
2c85bbb738
Access Control: Provisioning docs cleanup ( #34982 )
2021-06-02 11:55:37 +02:00
e0a3f669e5
Add fine-grained-access-control-references.md file. ( #35043 )
...
* Add fine-grained-access-control-references.md file.
* Fix syntax error in relref.
* Fix another syntax error.
* Fix broken link:
see introduction of alert rules at PR
https://github.com/grafana/grafana/pull/34839 .
2021-06-01 16:35:38 +02:00
73b8afe724
Document global role and assignment for provisioning ( #34739 )
2021-06-01 15:52:46 +02:00
96da84ca49
Access control: Rename predefined roles to fixed roles (docs) ( #34472 )
2021-05-26 14:59:24 +02:00
676ddac088
Docs: Document fine-grained access control ( #33563 )
2021-05-20 09:53:34 -07:00