[#468] Defined OAuth restrictions for all applicable routes.
authorIvan Tashkinov <ivantashkinov@gmail.com>
Fri, 15 Feb 2019 16:54:37 +0000 (19:54 +0300)
committerIvan Tashkinov <ivantashkinov@gmail.com>
Fri, 15 Feb 2019 16:54:37 +0000 (19:54 +0300)
commit2a4a4f3342bb3d2bbbd2354e858278d2e17f8654
tree11b0ef4815c5db986d4051ce9e3538dc8ffea6bb
parent027adbc9e5c60cd43b8857eb7a3124e6df1310c2
[#468] Defined OAuth restrictions for all applicable routes.
Improved missing "scopes" param handling.
Allowed "any of" / "all of" mode specification in OAuthScopesPlug.
Fixed auth UI / behavior when user selects no permissions at /oauth/authorize.
lib/pleroma/plugs/oauth_scopes_plug.ex
lib/pleroma/web/controller_helper.ex
lib/pleroma/web/mastodon_api/mastodon_api_controller.ex
lib/pleroma/web/oauth.ex
lib/pleroma/web/oauth/oauth_controller.ex
lib/pleroma/web/router.ex
lib/pleroma/web/templates/o_auth/o_auth/show.html.eex