bug PR-6.0-dev Pending

User tests: Successful: Unsuccessful:

avatar alikon
alikon
30 Nov 2025

Pull Request for Issue #46458 .

Summary of Changes

Change URL to site for non-admin users.

Testing Instructions

Open the Content: New Article Submitted email template and add the URL tag somewhere (it's not used by default).

Create a new user with a working email and assign them the Author/Publisher group, etc. (so they can create an article in the frontend but won't have access to the admin panel).

log in frontend like a superuser
and submit an article

Actual result BEFORE applying this Pull Request

wrong url https://SITE/administrator/index.php?option=com_content&view=articles&filter[search]=id:17 for non superuser

Expected result AFTER applying this Pull Request

correct url for non superuser
https://SITE/index.php?option=com_content&view=articles&id=nnn

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar alikon alikon - open - 30 Nov 2025
avatar alikon alikon - change - 30 Nov 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 30 Nov 2025
Category Front End Plugins
a57b517 30 Nov 2025 avatar alikon cs
avatar alikon alikon - change - 30 Nov 2025
Labels Added: PR-6.0-dev
avatar Kostelano Kostelano - test_item - 30 Nov 2025 - Tested successfully
avatar Kostelano
Kostelano - comment - 30 Nov 2025

I have tested this item ✅ successfully on a57b517

It works, thanks. If the user isn't an admin, they get a working link to the article in the frontend.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46519.

avatar brianteeman
brianteeman - comment - 2 Dec 2025

even though the url is a site url (not admin) doesnt mean that the recipient of the email will be able to access the article. You are only checking to see if the recipient can access the admin. You are not checking if they can access the article

avatar alikon alikon - change - 2 Dec 2025
Labels Added: bug
avatar alikon
alikon - comment - 2 Dec 2025

Check added

avatar softforge
softforge - comment - 4 Dec 2025

@Kostelano would you be able to retest now @alikon has added a new check please.

avatar Kostelano Kostelano - test_item - 4 Dec 2025 - Tested successfully
avatar Kostelano
Kostelano - comment - 4 Dec 2025

I have tested this item ✅ successfully on e4170af

Everything works as before


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46519.

avatar softforge
softforge - comment - 4 Dec 2025

I have tested this item ✅ successfully on e4170afEverything works as before

This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46519.

Thank you, appreciate your time to retest

avatar exlemor
exlemor - comment - 7 Dec 2025

Sorry @alikon, I seem to not be receiving the wanted results ;(

After PR is applied, I still get this URL /_j6b2n/administrator/index.php?option=com_content&view=articles&filter[search]=id:23. ;(

Shows the front end user is logged in:
ScreenFloat Shot of Safari on 2025-12-07 at 03-42-13

Shows the test user is of type Publisher (same results with Author, or Author + Publisher )
ScreenFloat Shot of Safari on 2025-12-07 at 03-42-34

Shows the email result after creating email as Test User of type Publisher with Patch applied ;(
After-PR-applied-2025-12-07 at 03-44-07

avatar alikon
alikon - comment - 7 Dec 2025

@exlemor if i understand correctly the user that submit the article is (Author, or Author + Publisher)

but the user for who you show the email (Emmanuel) have core.login privileges if that is correct, cause user (Emmanuel can see the submitted article from backend) then the link is correct that shows you the admin link

avatar exlemor
exlemor - comment - 7 Dec 2025

@exlemor if i understand correctly the user that submit the article is (Author, or Author + Publisher)

but the user for who you show the email (Emmanuel) have core.login privileges if that is correct, cause user (Emmanuel can see the submitted article from backend) then the link is correct that shows you the admin link

Hi @alikon, I should have added the other graphic sorry, for the Author (or Publisher) user, there is NO email that arrives to the user@domain.com email account (I even checked server email logs) :/

avatar Kostelano
Kostelano - comment - 8 Dec 2025

@exlemor Check the profiles of these users. The option to receive system emails should be enabled for each one.

Regarding the link, everyone with access to the admin panel will receive a link to the admin panel. Others will receive a link to the article in the front-end.

avatar muhme
muhme - comment - 13 Dec 2025

Tested with JBT

  • Created user 'editor' with 'Receive System emails' with group Author
  • Added 'Create Article' home menu item
  • Created new article via the frontend as the superuser
  • Seen the link to the article in the backend with 404 for user author
  • Applied PR with Patch Tester
    • ✅ Seen working site URL, link is working for logged in user author or w/o login (as article is published)
    • ⚠️ But if the article is created Unpublished by the superuser, user author gets an email with correct link, but resulting in 404
      • This is as @brianteeman wrote

        You are not checking if they can access the article

Is it intended that the user receives an email even if she cannot open the link? Then please adopt the test instructions and I will do an issue tracker test.

avatar brianteeman
brianteeman - comment - 13 Dec 2025

This also needs testing with workflows and when the created article is unpublished and the user doesn't have edit state permissions

Add a Comment

Login with GitHub to post a comment