$wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['user']['edit'] = true;
As the setting above defines that anonymous users who are not logged in cannot edit a wiki page, I should get some indication I cannot edit.
the edit button can still be clicked and I see this
I can continue the edit and its only when I try to save that I hit issues.
Expected: Clicking the edit icon should prompt the user to login in some way.
- Edit icon must show at locked for these users
- When clicking the edit icon we should show the CtaDrawer just as we do for the watchstar.
- The messaging of the drawer should use mobile-frontend-edit-login-action
At minimum, we should disable the edit icon to these users (showing edit-locked) based on the check of permissions.
A better solution would be to mimic the CtaDrawer for the watchstar.
The CtaDrawer provides this functionality for the watchstar.
Please verify the edit pencil is performing as expected on both beta cluster and reading web staging.
The 3rd party use case has been tested and verified by @Jdlrobson so no need to check that!