Commit Graph

25 Commits

Author SHA1 Message Date
morteza bf5b50a3a2 bug 2025-11-19 00:44:11 +03:30
morteza ef87a1ae6d up 2025-11-19 00:27:20 +03:30
morteza d764a67fec up 2025-11-19 00:21:58 +03:30
morteza e620dd6e04 Integrate RestaurantsModule into AdminModule; enhance AdminRepository to find admins by phone and restaurant slug using AdminRole; update AuthService to throw specific exception message when admin not found; correct last name in DatabaseSeeder for consistency. 2025-11-19 00:00:48 +03:30
morteza 8a217f6034 Add AdminId decorator for extracting adminId from requests; refactor AdminController to utilize new decorator for fetching admin details and restaurant-specific admins; update AdminService to handle admin creation and retrieval by restaurant; remove unused role and permission entities for cleaner architecture. 2025-11-18 16:45:44 +03:30
morteza 9abab789fc Refactor Admin module by removing role and permission controllers, services, and DTOs; update imports to utilize Roles module for role and permission entities; adjust AdminService and AdminModule accordingly. 2025-11-18 15:43:24 +03:30
morteza 0407d4c05a Add permissions handling to AdminAuthGuard and RoleController; refactor DatabaseSeeder to utilize enums for permissions 2025-11-18 15:24:20 +03:30
morteza a53c0a5b13 Refactor AdminAuthController and AuthService to implement admin-specific token refresh functionality; update TokensService to handle refresh token logic with improved transaction management and error handling. 2025-11-18 14:29:00 +03:30
morteza 7bc94b4126 Remove User and AdminUser controllers; update import paths in UserModule to reflect new directory structure. 2025-11-18 09:33:50 +03:30
morteza dcce6cfdda Refactor Auth and Restaurants modules to use forward references for circular dependency resolution; import JwtModule in RestaurantsModule. 2025-11-18 09:03:14 +03:30
morteza e2b2a746f7 login 2025-11-18 00:20:15 +03:30
morteza b3c44d734c update 2025-11-16 12:07:39 +03:30
morteza d605303e52 role 2025-11-16 11:07:14 +03:30
morteza fae765e05a auth 2025-11-16 10:37:03 +03:30
morteza ad4b2e2c89 add recorator 2025-11-16 10:07:53 +03:30
morteza 8c02c80a09 up 2025-11-12 15:22:38 +03:30
morteza 440c3721ce role perms 2025-11-12 09:28:56 +03:30
morteza 046286b559 token 2025-11-11 15:58:02 +03:30
morteza 95191f9b30 auth 2025-11-11 15:57:33 +03:30
morteza d4db672672 update 2025-11-11 11:29:39 +03:30
morteza 5dd7a6588e add slug 2025-11-11 10:35:58 +03:30
morteza e34b93aa83 refresh token 2025-11-11 09:50:18 +03:30
morteza bca4b75b6a update 2025-11-10 22:42:32 +03:30
morteza 45ca2fde06 user 2025-11-10 12:39:41 +03:30
morteza 06f814b331 init 2025-11-09 11:25:26 +03:30