Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.0] Notification in Workflow can't be read by not administrator user #30361

Closed
paternax opened this issue Aug 13, 2020 · 6 comments
Closed

Comments

@paternax
Copy link

In the transition part of the Workflow component it is possible to create notifactions for users, which have to take the next step in the workflow. The information about the generation of new notification is sent by email which contains a link to the backend. The notification system is only accessible for administrators, so that users which have only a user group based on Registered can't read the notification.

There should be an option to send the whole notification per email, so that also not administrator user can read it.

Steps to reproduce the issue

Expected result

Actual result

System information (as much as possible)

Additional comments

@brianteeman
Copy link
Contributor

@paternax I'm not sure what the use case would possibly be for a non-administrative user to receive the email. However I can see that workflows is not using the new mail templates which it probably should and that would resolve the problem. If no one beats me too it I will take a look at this

@paternax
Copy link
Author

For example frontend editors who submit new blog posts could be informed about the change of stages.

@brianteeman
Copy link
Contributor

ah - i see the problem now.

The email received is as folllows

The status of an Article has been changed 

Title: Typography, changed by Brian Teeman, new state: Basic Stage. 

Please log in to http://localhost/joomla-cms/administrator/index.php?option=com_messages&view=message&message_id=5 to read your message.

There should be an option to send the whole notification per email, so that also not administrator user can read it.

The problem is that there is no extra text to that email. It is complete but the link that a non-admin user cannot use suggests that there is something more that they can not see.

@brianteeman
Copy link
Contributor

You can "fix" this for now by creating a language override for COM_MESSAGES_NEW_MESSAGE_BODY

@brianteeman
Copy link
Contributor

Please test #35693

@richard67
Copy link
Member

Closing as having a pull request. Please test #35693 . Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants