Files
outline/app/components
Saumya Pandey bc4fe05147 feat: Read-only users (#1955)
* Introduce isViewer field

* Update policies

* Make users read-only feature

* Remove not demoting current user validation

* Update tests

* Catch the unhandled promise rejection

* Hide unnecessary ui elements for read-only user

* Update app/scenes/Settings/People.js

Co-authored-by: Tom Moor <tom.moor@gmail.com>

* Remove redundant logic for admin only policies

* Use can logic

* Update snapshot

* Remove lint error

* Update snapshot

* Minor fix

* Update app/menus/UserMenu.js

Co-authored-by: Tom Moor <tom.moor@gmail.com>

* Update server/api/users.js

Co-authored-by: Tom Moor <tom.moor@gmail.com>

* Update app/components/DocumentListItem.js

Co-authored-by: Tom Moor <tom.moor@gmail.com>

* Update app/stores/UsersStore.js

Co-authored-by: Tom Moor <tom.moor@gmail.com>

* Use useCurrentTeam hook in functional component

* Update translation

* Update ternary

* Remove punctuation

* Move the functions to User model

* Update share policy and shareMenu

* Rename makeAdmin to promote

* Create updateCounts function and Rank enum

* Update tests

* Remove enum

* Use async await, remove enum and create computed accessor

* Remove unused variable

* Fix lint issues

* Hide templates

* Create shared/types and use rank type from it

* Delete shared/utils/rank type file

Co-authored-by: Tom Moor <tom.moor@gmail.com>
2021-04-11 19:39:17 -07:00
..
2021-01-29 21:36:09 -08:00
2021-03-31 20:57:30 -07:00
2021-04-11 19:39:17 -07:00
2021-01-31 15:41:33 -08:00
2020-07-09 22:33:07 -07:00
2021-01-23 10:19:08 -08:00
2021-01-29 21:36:09 -08:00
2020-07-09 22:33:07 -07:00
2021-03-24 18:42:12 -07:00
2020-11-08 20:28:27 -08:00
2021-01-16 11:12:10 -08:00
2020-11-29 20:04:58 -08:00
2021-01-29 21:36:09 -08:00
2021-01-29 21:36:09 -08:00
2021-01-22 21:12:25 -08:00
2021-01-23 10:19:08 -08:00
2020-11-29 20:04:58 -08:00
2020-07-09 22:33:07 -07:00
2021-01-16 11:12:10 -08:00
2020-07-18 09:33:27 -07:00
2021-01-20 23:00:14 -08:00
2020-07-09 22:33:07 -07:00
2021-02-14 13:18:33 -08:00
2021-02-15 15:19:51 -08:00
2021-01-20 23:00:14 -08:00
2021-01-29 21:36:09 -08:00