[click] allow downloads for published gratis apps without the user having to sign in to sca
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Software Center Agent |
Fix Released
|
Critical
|
James Westby |
Bug Description
AttributeError: 'NoneType' object has no attribute 'has_perm'
File "/srv/sc.
response = callback(request, *callback_args, **callback_kwargs)
File "/srv/sc.
response = view_func(request, *args, **kwargs)
File "/srv/sc.
response = func(*args, **kwargs)
File "/usr/lib/
result = self.error_
File "/usr/lib/
result = meth(request, *args, **kwargs)
File "/srv/sc.
is_reviewer = can_review(user, package)
File "/srv/sc.
return user.has_
This occurs if the user hasn't ever signed in to sca. We can still allow them to download published
gratis apps, but not anything that requires a user record (unpublished or paid).
Changed in software-center-agent: | |
status: | New → In Progress |
importance: | Undecided → Critical |
Changed in software-center-agent: | |
status: | In Progress → Fix Released |