-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return a Placements::SupportUser for suppor users
Make sure the `current_user` method returns an instance of Placements::SupportUser when in the Placements service and the current user has `support_user = true`. While `Placements::User` and `Placements::SupportUser` are both effectively the same right now, we envisage functional changes in the near future. For example, `user.organisations` will differ to `support_user.organisations`.
- Loading branch information
1 parent
c0c24aa
commit ed8b50e
Showing
2 changed files
with
32 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters