Files
habitica/website/server/controllers/api-v3
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
..
2018-07-12 15:27:02 -05:00
2018-08-16 11:28:03 -05:00
2018-03-15 19:59:36 +01:00
2017-06-08 17:10:22 -07:00
2018-08-16 11:28:03 -05:00
2018-08-30 14:50:03 -05:00
2017-01-13 14:06:46 -07:00
2018-09-04 17:28:52 -05:00
2016-11-03 08:31:30 -05:00
2018-03-20 21:30:43 +00:00