mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
Update wordpress scopes and add `session/scopes
` endpoint (#15366)
* Update wordpress scopes && add ``session/scopes`` endpointt * Fix failing spec * Add users#show scope to discourse_connect * Update app/controllers/session_controller.rb Co-authored-by: Roman Rizzi <rizziromanalejandro@gmail.com> Co-authored-by: Roman Rizzi <rizziromanalejandro@gmail.com>
This commit is contained in:
@ -235,7 +235,7 @@ describe Admin::ApiController do
|
||||
|
||||
scopes = response.parsed_body['scopes']
|
||||
|
||||
expect(scopes.keys).to contain_exactly('topics', 'users', 'email', 'posts', 'uploads', 'global', 'badges', 'categories')
|
||||
expect(scopes.keys).to contain_exactly('topics', 'users', 'email', 'posts', 'uploads', 'global', 'badges', 'categories', 'wordpress')
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user