update_categories #62
Reference in New Issue
Block a user
Delete Branch "update_categories"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Changes:
@@ -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)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