Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
masquerade
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
masquerade
Merge requests
!6
Issue
#3330972
: Change README.txt to README.md and update according to "README.md template" in 8.x-2.x branch.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Issue
#3330972
: Change README.txt to README.md and update according to "README.md template" in 8.x-2.x branch.
issue/masquerade-3330972:3330972-change-readme.txt-to
into
8.x-2.x
Overview
2
Commits
4
Pipelines
0
Changes
2
1 unresolved thread
Hide all comments
Open
jay jangid
requested to merge
issue/masquerade-3330972:3330972-change-readme.txt-to
into
8.x-2.x
2 years ago
Overview
2
Commits
4
Pipelines
0
Changes
2
1 unresolved thread
Hide all comments
Expand
0
0
Merge request reports
Compare
8.x-2.x
version 3
7ff67f82
1 month ago
version 2
4ba9abff
1 month ago
version 1
fd71542a
2 years ago
8.x-2.x (HEAD)
and
latest version
latest version
6a6553b0
4 commits,
1 month ago
version 3
7ff67f82
3 commits,
1 month ago
version 2
4ba9abff
2 commits,
1 month ago
version 1
fd71542a
1 commit,
2 years ago
2 files
+
95
−
78
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
README.md
0 → 100644
+
95
−
0
Options
# Masquerade
The Masquerade module allows site administrators (or anyone with enough
permissions) to switch users and surf the site as that user (no password
required). That person can switch back to their own user account at any time.
This is helpful for site developers when trying to determine what a client,
logged in as themselves, might see when logged into the site.
For a full description of the module, visit the
[
project page
](
https://www.drupal.org/project/masquerade
)
.
Submit bug reports and feature suggestions, or track changes in the
[
issue queue
](
https://www.drupal.org/project/issues/masquerade
)
.
## Requirements
This module requires no modules outside of Drupal core.
## Installation
Install as you would normally install a contributed Drupal module. For further
information, see
[
Installing Drupal Modules
](
https://www.drupal.org/docs/extending-drupal/installing-drupal-modules
)
.
## Configuration
To Masquerade as another user, either click "Masquerade as [user name]" under
the user's account, or go to
`/admin/people`
and select "Masquerade as"
under the "Edit" drop-down.
To stop masquerading as another user, click the "Unmasquerade" link in the
"User account menu" block.
Optionally, set permissions under
`/admin/people/permissions/module/masquerade`
.
## Security
Masquerade's built-in access control mechanism has been designed to be simple,
smart, and secure by default:
-
Users without the masquerade permission are not allowed to masquerade.
-
Uid 1 may masquerade as anyone. No one can masquerade as uid 1.
-
If you have the identical permissions as the target user (or additional
permissions), you are allowed to masquerade.
-
Otherwise, access to masquerade as the target user is denied.
This means that Masquerade's built-in access control does not allow any kind
of privilege escalation. It is safe to grant the masquerade permission to
user roles. Users are never able to exceed their privileges by masquerading
as someone else.
More fine-grained access control (e.g., role-per-role, per-user, blacklist)
may be supplied by separate add-on modules for Masquerade.
## Features and integration
The Masquerade module provides and aims for a deep integration with the
built-in user interface of Drupal core and popular contributed administration
interface modules:
-
Contextual links (core)
-
Toolbar (core)
-
[
Administration menu
](
http://drupal.org/project/admin_menu
)
Aside from its user permission, the Masquerade module aims for a smart and
intuitive integration that does not require any configuration. Its design and
architecture tries to meet the expectations of these user stories:
-
This is helpful. Even though I don't know whether I'll actually need it.
-
This is secure. 100% test coverage for the limited functionality
it provides.
-
This isn't bloat. Super small, dead simple, focused on the >80% task.
-
This is friendly. Available when I need it, close to "zero-conf", and has
absolutely no other UI implications.
Masquerading as Anonymous user is intentionally not supported. Likewise, more
granular user permissions and other custom plumbing needs to be implemented in
separate modules instead.
## Maintainers
-
Andrey Postnikov -
[
andypost
](
https://www.drupal.org/u/andypost
)
-
David N -
[
deekayen
](
https://www.drupal.org/u/deekayen
)
-
Gurpartap Singh -
[
Gurpartap Singh
](
https://www.drupal.org/u/gurpartap-singh
)
-
Mark Shropshire -
[
shrop
](
https://www.drupal.org/u/shrop
)
-
Andrew Berry -
[
deviantintegral
](
https://www.drupal.org/u/deviantintegral
)
-
Daniel Kudwien -
[
sun
](
https://www.drupal.org/u/sun
)
\ No newline at end of file
Loading