Check if a user has a permission in pyramid (pylons 2)?

2.2k Views Asked by At

How do i check if a user has a permission in pyramid. For example, I want to show some HTML only if a user has some permission, but have the view available for everybody.

1

There are 1 best solutions below

1
On BEST ANSWER