-
Notifications
You must be signed in to change notification settings - Fork 465
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
Enhancement: Improve default in Host or Folder field #7624
Comments
If a Content-Type has a Host or Folder field that is not required the value set by default is System Host regardless if is a limited user without permissions over the System Host. We should add a default value field like the one on the Date Field and if there is no default value set it, we should set it to the first folder or host that the user has permissions. Client Ticket Related: https://my.dotcms.com/tickets/detail.dot?id=ae01967a-fc61-4d7f-8182-80f27f39867e |
PR: #9982 |
Hi Guys, the default-value for "host of folder" field currently depends on whether the field is required/mandatory or not:
A Pull Request has been issued to fix this issue (#9982). Basically, if the field is Not Required and the user does not have permissions to System Host, the system now sets it to the host where the user is editing content in. |
…-for-host-or-folder-field #7624 Improved default-value for host of folder field
If a user creates a new contentlet that has a Host or Folder field, the default value for the field may be a folder to which the user is not permissioned. This should not happen. It's perverse to provide a user with a default value that doesn't work.
The text was updated successfully, but these errors were encountered: