update_categories #62

Merged
goc_daniel merged 6 commits from update_categories into main 2026-04-14 10:35:28 +00:00
Owner

Changes:

  • blacklisted one category
  • Added new category to the menu tree
  • transliteration changed to database version only
  • changed permissions to what they should be (removed isAdmin middleware)
  • added missing DROP TABLES
  • Removed CategoriesRepo and merged with categoryRepo
  • moved meilisearch into search repo/
Changes: - blacklisted one category - Added new category to the menu tree - transliteration changed to database version only - changed permissions to what they should be (removed isAdmin middleware) - added missing DROP TABLES - Removed CategoriesRepo and merged with categoryRepo - moved meilisearch into search repo/
goc_daniel added 3 commits 2026-04-13 13:40:20 +00:00
goc_daniel requested review from dudzic_wiktor 2026-04-13 13:40:31 +00:00
dudzic_wiktor approved these changes 2026-04-13 14:01:03 +00:00
@@ -37,3 +37,2 @@
r.Get("/get-product-description", handler.GetProductDescription)
r.Post("/save-product-description", handler.SaveProductDescription)
r.Get("/translate-product-description", handler.TranslateProductDescription)
r.Post("/save-product-description", middleware.Require("product_translation.save"), handler.SaveProductDescription)
Collaborator

I just remembered that the purpose of defining the permissions in permissions.go is to minimize the usage of hardcoded strings in handler and instead use perms.Permission const.

in this instance it would be perms.ProductTranslationSave

I just remembered that the purpose of defining the permissions in permissions.go is to minimize the usage of hardcoded strings in handler and instead use perms.Permission const. in this instance it would be perms.ProductTranslationSave
goc_daniel added 1 commit 2026-04-14 10:28:45 +00:00
goc_daniel added 1 commit 2026-04-14 10:32:28 +00:00
goc_daniel added 1 commit 2026-04-14 10:34:10 +00:00
goc_daniel merged commit e5988a85f3 into main 2026-04-14 10:35:28 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: goc_daniel/b2b#62