appwrite/app/controllers/api
Steven Nguyen f48c843bea
fix(users): ensure user can delete session
The session document created by users.createSession() was missing
delete permissions for the user so when the user tried to delete it,
they got a 401 error.

This PR ensure the permissions are added just like if the document was
created from the Account API so that the user has access to delete the
document.
2025-01-11 17:56:36 +00:00
..
account.php chore: used config in auth 2025-01-10 08:42:10 +05:30
avatars.php chore: replace occurrences of dbForConsole to dbForPlatform 2024-12-12 14:30:26 +04:00
console.php chore: fix endpoint 2024-12-16 12:36:02 +00:00
databases.php added operations debug header 2025-01-06 19:07:18 +02:00
functions.php chore: use redis adapter for abuse 2024-12-20 20:14:50 +05:30
graphql.php Revert "Feat eldad4 coroutines" 2024-09-20 12:30:05 -04:00
health.php feat: redis-cluster support 2024-11-06 12:27:03 +01:00
locale.php chore: replace 'Expires' with 'Cache-Control: private' header to avoid CDN caching 2024-10-22 11:38:05 +02:00
messaging.php chore: replace occurrences of dbForConsole to dbForPlatform 2024-12-12 14:30:26 +04:00
migrations.php Remove firebase OAuth API endpoints 2024-12-30 09:00:52 +00:00
project.php fix: metric 2025-01-10 17:33:08 +00:00
projects.php Merge branch '1.6.x' into PLA-1958 2025-01-10 13:18:53 +01:00
proxy.php chore: replace occurrences of dbForConsole to dbForPlatform 2024-12-12 14:30:26 +04:00
storage.php added operations debug header 2025-01-02 16:46:38 +02:00
teams.php fix: attribute 2025-01-08 17:14:07 +05:30
users.php fix(users): ensure user can delete session 2025-01-11 17:56:36 +00:00
vcs.php Backwards-compatibility 2024-12-30 14:43:28 +01:00