Skip to content
Snippets Groups Projects
Verified Commit 4634d99d authored by Haelwenn's avatar Haelwenn
Browse files

Web.Router: Change right to permission group (except for function names)

parent e0b0fde7
No related branches found
No related tags found
No related merge requests found
......@@ -99,10 +99,10 @@ defmodule Pleroma.Web.Router do
delete("/user", AdminAPIController, :user_delete)
post("/user", AdminAPIController, :user_create)
get("/rights/:nickname", AdminAPIController, :right_get)
get("/rights/:nickname/:right", AdminAPIController, :right_get)
post("/rights/:nickname/:right", AdminAPIController, :right_add)
delete("/rights/:nickname/:right", AdminAPIController, :right_delete)
get("/permission_group/:nickname", AdminAPIController, :right_get)
get("/permission_group/:nickname/:permission_group", AdminAPIController, :right_get)
post("/permission_group/:nickname/:permission_group", AdminAPIController, :right_add)
delete("/permission_group/:nickname/:permission_group", AdminAPIController, :right_delete)
post("/relay", AdminAPIController, :relay_follow)
delete("/relay", AdminAPIController, :relay_unfollow)
......
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