[#468] User UI for OAuth permissions restriction. Standardized storage format for...
authorIvan Tashkinov <ivantashkinov@gmail.com>
Wed, 13 Feb 2019 21:29:29 +0000 (00:29 +0300)
committerIvan Tashkinov <ivantashkinov@gmail.com>
Wed, 13 Feb 2019 21:29:29 +0000 (00:29 +0300)
commit063baca5e4f3a100c0d45dffb14e4968599ef43b
tree007c44ff7cd2c90b2e1c18d7ced704448fea5601
parenta337bd114c3cbbb8e8270ec56a012e82f84df808
[#468] User UI for OAuth permissions restriction. Standardized storage format for `scopes` fields, updated usages.
18 files changed:
lib/pleroma/plugs/oauth_scopes_plug.ex
lib/pleroma/web/mastodon_api/mastodon_api_controller.ex
lib/pleroma/web/oauth.ex
lib/pleroma/web/oauth/app.ex
lib/pleroma/web/oauth/authorization.ex
lib/pleroma/web/oauth/oauth_controller.ex
lib/pleroma/web/oauth/token.ex
lib/pleroma/web/templates/layout/app.html.eex
lib/pleroma/web/templates/o_auth/o_auth/show.html.eex
mix.lock
priv/repo/migrations/20190208131753_add_scopes_to_o_auth_entities.exs [moved from priv/repo/migrations/20190208131753_add_scope_to_o_auth_entities.exs with 53% similarity]
priv/repo/migrations/20190209123318_data_migration_populate_o_auth_scopes.exs [moved from priv/repo/migrations/20190209123318_data_migration_populate_o_auth_scope.exs with 85% similarity]
priv/repo/migrations/20190213185503_change_apps_scopes_to_varchar_array.exs [new file with mode: 0644]
test/integration/mastodon_websocket_test.exs
test/support/factory.ex
test/web/oauth/authorization_test.exs
test/web/oauth/oauth_controller_test.exs
test/web/oauth/token_test.exs