Show an error message if permission names are not unique, Orchard Harvest 2025 survey results - This week in Orchard (14/02/2025)
This week, we will check out the simplified Login and LoginForm views, the improvement about showing an error message if permission names are not unique, and announce the Orchard Harvest 2025 survey results! Check out our post for the details!
Orchard Core updates
Simplify the Login and LoginForm views
The goal of this change is to keep the LoginForm.Edit.cshtml to minimal since the Login.cshtml is defining the structure. This allows a user to override everything they need in the Login.cshtml including removing the form headline. The following code has been moved to Views/Account/Login.cshtml:
<h1 class="fs-4">@T["Log in"]</h1>
<hr />
If you are overriding the Views/Account/Login.cshtml view, you may want to add the above code to your custom version for consistency.
Show an error message if permission names are not unique
When creating a new module to build your own, e.g., workflows, you can add a permission class and name a permission ManageWorkflows. But we already have a permission named ManageWorkflows in Orchard Core.
Currently, permission names are expected to be unique across all modules. This change displays an error message in the Role Editor when a permission name is reused. This alerts the administrator to possible security issues when a module redefines an existing permission. To make sure that the permission you want to add is unique, this new page in the documentation lists all of the existing permissions in Orchard Core defined by the built-in modules.
At the bottom of this page, you can see the list of steps for creating a new permission in Orchard Core, ensuring it will be unique across the system.
News from the community
Orchard Harvest 2025 survey results
After last year, the Orchard Harvest Conference will be held again in 2025. Last year, it was held in Las Vegas, and we had a really great time there. We would like to try to organize it again in Europe this year. The first step was to assess the potential interest and what would be needed.
We created a survey, and now we have the results! Thank you for your feedback so far regarding Orchard Harvest! We have received many responses, which have helped us get a better idea of the right place and time. Please keep in mind that these are just preliminary results and haven't led to any specific outcomes yet. We're taking all community feedback into account as we continue planning. As we move forward, we will keep community members informed of the details, and you will also find every detail in this newsletter too!
Orchard Dojo Newsletter
Lombiq's Orchard Dojo Newsletter has 463 subscribers! We have started this newsletter to inform the community around Orchard of the latest news about the platform. By subscribing to this newsletter, you will get an e-mail whenever a new post is published in Orchard Dojo, including This week in Orchard, of course.
Do you know of other Orchard enthusiasts who would like to read our weekly articles? Tell them to subscribe here!