mgaitan / waliki

A wiki engine powered by Django and Git
http://waliki.pythonanywhere.com
BSD 3-Clause "New" or "Revised" License
309 stars 56 forks source link

Make permissions given by user or group actually work. #136

Closed wagnerflo closed 7 years ago

wagnerflo commented 7 years ago

As per Django documentation the method has_perms expects a list of strings of the format <app label>.<permission codename>.

Wiki permissions given directly to the user or a group he's part of won't work without this change.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 71.104% when pulling 0c5c19219e61672e4cdf72c0517a0511c7a66073 on wagnerflo:master into f82662e313de87427f83aeeb5b57fbef267881b2 on mgaitan:master.

mgaitan commented 7 years ago

super. thank you very much. I'm merging, altought it would be great to have a test for this