OAuth 'push' and 'admin' scopes support #2291

Closed
i1t wants to merge 0 commits from gitlab-mr-iid-1024 into develop
Member

Required for "Login with PleromaFE" feature of AdminFE: pleroma/admin-fe#301

Also, per pleroma/admin-fe#301, admin scope would be required for moderation features of PleromaFE.

BE feature: pleroma/pleroma#5403

Required for "Login with PleromaFE" feature of AdminFE: https://git.pleroma.social/pleroma/admin-fe/pulls/301 Also, per https://git.pleroma.social/pleroma/admin-fe/pulls/301#note_47505, `admin` scope would be required for moderation features of PleromaFE. BE feature: https://git.pleroma.social/pleroma/pleroma/pulls/5403
Author
Member

@rinpatch BE MR was merged, please merge this one.

@rinpatch BE MR was merged, please merge this one.
Owner

will it work on older BEs tho?

will it work on older BEs tho?
Author
Member

@hj it surely would work with older BEs, even if those BEs aren't aware of admin / push scopes. Client apps may request any number of arbitrarily named scopes, e.g. "scope1", "scope2", "scope3", and it won't do anything (neither good or bad) until BE starts making any difference basing on any of these actions absence / presence in any of its controller actions.

@hj it surely would work with older BEs, even if those BEs aren't aware of `admin` / `push` scopes. Client apps may request any number of arbitrarily named scopes, e.g. "scope1", "scope2", "scope3", and it won't do anything (neither good or bad) until BE starts making any difference basing on any of these actions absence / presence in any of its controller actions.

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma/pleroma-fe!2291
No description provided.