HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

Cannot change Role Name

edited February 2010 in Vanilla 2.0 - 2.8
Hi.
I am very new to this software.
not so good at PHP & DB.

I just installed Vanilla2&Garden yesterday on my rented server.
I tried to change the name of Role (ex. banned to disallowed) in admin page,
though the message said "your change has been saved",
the role name is still displayed as "banned".

Is this a folder permission problem or something?
I need little help.

thanks.

#if there is a similar discussion to this pls let me know.

Comments

  • I'd say, it's a bug. The edit method for the role controller seems OK, it calls "Save" from the rolemodel which does say everything is fine, hence the message "your change has been saved". The Save doesn't seem to save the name change.

    Either it's done on purpose, so the field shouldn't be editable, or the Save does not do everything it needs to do.
  • MarkMark Vanilla Staff
    It should be editable. I'll test in dev.
  • MarkMark Vanilla Staff
    Yep - that's a bug.
  • @luc, @Mark

    THANK YOU BOTH for the HELP!

    I commented out the line Mark mentioned in github, (applications/garden/models/class.rolemodel.php)
    then i went back to dashboard to change the Role name,
    yep, it was successful this time!

    peace.
Sign In or Register to comment.