Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 0cf0c535 authored by Philippe Coicadan's avatar Philippe Coicadan
Browse files

right granted for producer to eliminate instance and empty trash

parent 5a77d3b5
No related branches found
No related tags found
No related merge requests found
......@@ -27,10 +27,10 @@ class Trash:public drogon::HttpController<Trash>
ADD_METHOD_TO(ctlr::Nothing::options_1, "/trash/{1}", Options, "arolios::filter::Patch_delete_option");
ADD_METHOD_TO(ctlr::Trash::recover_instance, "/trash/{1}", drogon::Patch , "arolios::filter::Login", arolios::filter::RAC_util::Producer());
ADD_METHOD_TO(ctlr::Trash::eliminate_instance, "/trash/{1}", drogon::Delete , "arolios::filter::Login", arolios::filter::RAC_util::Admin());
ADD_METHOD_TO(ctlr::Trash::eliminate_instance, "/trash/{1}", drogon::Delete , "arolios::filter::Login", arolios::filter::RAC_util::Producer());
ADD_METHOD_TO(ctlr::Nothing::options, "/trash",Options, "arolios::filter::Delete_option");
ADD_METHOD_TO(ctlr::Trash::empty, "/trash", drogon::Delete, "arolios::filter::Login", arolios::filter::RAC_util::Admin());
ADD_METHOD_TO(ctlr::Trash::empty, "/trash", drogon::Delete, "arolios::filter::Login", arolios::filter::RAC_util::Producer());
METHOD_LIST_END
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment