Skip to content

Conversation

@labkey-jeckels
Copy link
Contributor

Rationale

Two look and feel settings have special permissions for editing. We shouldn't let users think they can edit them.

Additionally, we were mangling the HTML to disable the Organization Name field.

Changes

  • Incorporate Admin Operations permission check into whether users can override the email address and custom login pages
  • Put the disabled in the right place

Copy link
Contributor

@labkey-adam labkey-adam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

<% inherited = isInherited(laf.getCompanyNameStored()); %>
<%=inheritCheckbox(inherited, companyName)%>
<td><input type="text" id="<%=companyName%>" name="<%=companyName%>" size="<%=standardInputWidth%>" value="<%= h(laf.getCompanyName()) %><%=disabled(inherited)%>"></td>
<td><input type="text" id="<%=companyName%>" name="<%=companyName%>" size="<%=standardInputWidth%>" value="<%= h(laf.getCompanyName()) %>" <%=disabled(inherited)%>></td>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Space is not needed before disabled(), but whatever

@labkey-jeckels labkey-jeckels merged commit aedbac9 into release24.11-SNAPSHOT Nov 22, 2024
2 checks passed
@labkey-jeckels labkey-jeckels deleted the 24.11_fb_orgNameDisabling branch November 22, 2024 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants