google-code-export / student-worker-relational-database

Automatically exported from code.google.com/p/student-worker-relational-database
1 stars 1 forks source link

All pod reports broken by new permission check #260

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
By 
http://code.google.com/p/student-worker-relational-database/source/detail?r=94b0
a31518b13788cab5db7acb8149f55874f937

@user_passes_test(lambda u: u.has_perm('schedule.grade_reports'))

request must be passed which in this case ins't. So this breaks all reporting

Hacked production to avoid the checking.

Original issue reported on code.google.com by dmbs...@gmail.com on 15 Dec 2011 at 2:58

GoogleCodeExporter commented 9 years ago
thanks. I thought I had removed that and moved it to views. It's still in
views. I'll play with it today and make sure people who shouldn't pull
reports don't have access without that there.

On Thu, Dec 15, 2011 at 9:59 AM, <
student-worker-relational-database@googlecode.com> wrote:

Original comment by ca...@burkesoftware.com on 15 Dec 2011 at 3:42

GoogleCodeExporter commented 9 years ago
Should be fine. Tried it with a couple of different perm levels, seemed to work 
appropriately.

Original comment by ca...@burkesoftware.com on 15 Dec 2011 at 8:21

GoogleCodeExporter commented 9 years ago
Works but we must merge the different sis and schedule permissions together

Original comment by dmbs...@gmail.com on 15 Dec 2011 at 8:56

GoogleCodeExporter commented 9 years ago

Original comment by ca...@burkesoftware.com on 16 Dec 2011 at 5:48