habitica/test
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
..
api 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
client remove .only 2018-09-09 11:52:37 +02:00
common Fixing healing light not being castable when user full hp (#10603) 2018-08-17 12:06:58 +02:00
content api: add pagination for guilds 2017-03-13 19:46:53 +01:00
helpers API v4 (WIP) (#10453) 2018-06-18 14:40:25 +02:00
migrations API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02:00
sanity Clean up references to repo as HabitRPG/habitrpg (#8742) 2017-06-06 18:51:54 -07:00
.eslintrc Upgrade ESLint to v3 (#8299) 2016-12-20 22:31:36 +01:00
mocha.opts Node 8 (WIP) (#9946) 2018-03-15 19:59:36 +01:00
README.md update / delete outdated README.md files (#8719) 2017-05-14 14:40:13 +10:00

For information about writing and running tests, see Using Your Local Install to Modify Habitica's Website and API.