projects
/
Plinn.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Implémentation de l'envoi d'email de réinitialisation de mot de passe (texte du messa...
[Plinn.git]
/
skins
/
control
/
checkRoles.py
1
##parameters=roles
2
member
=
context
.
portal_membership
.
getAuthenticatedMember
()
3
for
role
in
roles
:
4
if
member
.
allowed
(
context
, [
role
,]) :
5
continue
6
else
:
7
return False
8
return True