habitica/test/api
Alys eb2d320d1f allow challenge leader/owner to view/join/modify challenge in private group they've left - fixes #9753 (#10606)
* rename hasAccess to canJoin for challenges

This is so the function won't be used accidentally for other
purposes, since hasAccess could be misinterpretted.

* add isLeader function for challenges

* allow challenge leader to join/modify/end challenge when they're not in the private group it's in

* delete duplicate test

* clarify title of existing tests

* add tests and adjust existing tests to reduce privileges of test users

* fix lint errors

* remove pointless isLeader check (it's checked in canJoin)
2018-09-09 11:53:59 +02:00
..
unit remove tests that are no longer needed because we won't be purging private messages (#10670) 2018-09-09 11:24:52 +02:00
v3/integration allow challenge leader/owner to view/join/modify challenge in private group they've left - fixes #9753 (#10606) 2018-09-09 11:53:59 +02:00
v4/inbox New inbox client (#10644) 2018-08-30 14:50:03 -05:00