#2196 bad permissions (500 error on permissions page) [19667]

v1.0.0
closed
General
nobody
2015-08-20
2011-06-01
Chris Tsai
No

https://sourceforge.net/apps/trac/sourceforge/ticket/19667

my project apbot isn't showing the pages and i can't access the permissions page, can you please fix this?

thanks,
Anton

I'm getting a 500 error on their permissions page: https://sourceforge.net/p/apbot/admin/permissions/

And I get a login prompt when I try to access their project pages un-authed, and with a regular user account, I get a 403 error.

Discussion

  • Dave Brondsema

    Dave Brondsema - 2011-06-01
    Module /var/local/allura/Allura/allura/ext/admin/templates/admin_widgets/card_field.html:29 in top-level template code
    <<      {% endfor %}
               <li class="new-item">
                 {{ widget.new_item.display(name='card-%s.new' % index) }}
               </li>
               <li>
    >>  {{ widget.new_item.display(name='card-%s.new' % index) }}
    Module ew.widget:39 in display
    <<      def display(self, **kw):
                   from .render import File
                   context = self.prepare_context(kw)
                   with push_context(widget_context, widget=self):
                       if isinstance(self.template, basestring):
    >>  context = self.prepare_context(kw)
    Module ew.select:33 in prepare_context
    <<          context = super(SelectField, self).prepare_context(context)
                   if callable(context['options']):
                       options = context['options']()
                   else:
                       options = context['options']
    >>  options = context['options']()
    Module allura.ext.admin.widgets:71 in options
    <<              for role in c.project.named_roles ]
                   options.append(ew.Option(py_value=auth_role._id, label=auth_role.name))
                   options.append(ew.Option(py_value=anon_role._id, label=anon_role.name))
                   return options
    >>  options.append(ew.Option(py_value=anon_role._id, label=anon_role.name))
    AttributeError: 'NoneType' object has no attribute '_id'
    
     
  • Dave Brondsema

    Dave Brondsema - 2011-06-01
    • size: --> 2
    • milestone: limbo --> jun-03
     
  • Rick Copeland - 2011-06-01
    • status: open --> in-progress
    • assigned_to: Rick Copéland
     
  • Rick Copeland - 2011-06-03

    Access is restored.

     
  • Rick Copeland - 2011-06-03
    • status: code-review --> closed
     

Log in to post a comment.