cbrain
cbrain copied to clipboard
As Admin I see my regular user projects as 'someone'
is everything right, admin does not see project author name?
Very likely a bug
Somehow the issue disappeared, may be some temporary issues with new projects. Will double check latter
I had the same issue last week (and now it disappears too). When exploring the code I saw that the text in the select box came from:
https://github.com/aces/cbrain/blob/410d1fcad9b05b774176ef3c0ac6178fb23ec3eb/BrainPortal/app/models/work_group.rb#L73
This is called by the following line:
https://github.com/aces/cbrain/blob/410d1fcad9b05b774176ef3c0ac6178fb23ec3eb/BrainPortal/app/helpers/select_box_helper.rb#L127
In meantime, I had the (Someone)
group that appears in the user interface, but when I execute WorkGroup.prepare_pretty_category_names(groups, current_user)
I do not get the (Someone)
group.
I am a little bit puzzled by this issue (that I cannot reproduce today).