Jump to:

22972 Posts in 11596 Topics by 2824 members

General Questions

SilverStripe Forums » General Questions » Cannot Add Members in CMS - Disabled EMail Field

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 744 Views
  • Routh
    Avatar
    Community Member
    11 Posts

    Cannot Add Members in CMS - Disabled EMail Field Link to this post

    Does anyone have any clue why my SS is disabling the Email field in the 'Add Member' form for the Security ModelAdmin? I have checked that the field is editable in the member profiles module, and I am trying to create the member with the master admin account created by SS, so it's not a permissions issue.

    I've spent all day trying different things.. (Removing the memberprofiles module, reinstalling it, digging through the templates in /CMS as well as the code, trying different browsers, etc)

    In the end nothing is fixing this, and I cannot add members manually at all.

    To be clear: This is not a custom form. This is not a module. This is the CMS security core 'Add Member' form.

    This is the outputted source for the field:

    <div class="field readonly " id="Email">
    <label for="MemberTableField_Popup_AddForm_Email" class="left">Email</label>
    <div class="middleColumn"><span class="readonly " id="MemberTableField_Popup_AddForm_Email"><i>(none)</i></span>
    <input type="hidden" value="" name="Email">
    </div>
    </div>

  • Routh
    Avatar
    Community Member
    11 Posts

    Re: Cannot Add Members in CMS - Disabled EMail Field Link to this post

    Further digging into this has led me to believe it's permission related, based on how the field is generated in /sapphire/forms/TableListField.php - However nothing is making sense.

    - Security Group 'Administrators' has full access to everything.
    - No administrator can create a new member because the EMail field is both required and 'readonly' - This includes the 'Master' admin account.
    - There are no DB entries in the permissions tables other than what is installed by default with SS.
    - I have not made any changes to permissions.

    This would seem to imply broken behaviour in SS 2.4 - Can anyone confirm or deny this?

  • ccburns
    Avatar
    Community Member
    74 Posts

    Re: Cannot Add Members in CMS - Disabled EMail Field Link to this post

    I am having the same problem. Initially I thought it was something to do with the way I had set up the data model, but that is now working and the problem is happening in both the Security Tab and the Model Admin I have set up to manage the data model.

    [url=http://silverstripe.org/general-questions/show/16640]http://silverstripe.org/general-questions/show/16640

    Did you ever find out the issue with this?

    Cheers,
    Colin

    744 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.