equal
deleted
inserted
replaced
63 @objectify_selector |
63 @objectify_selector |
64 def is_user_session(cls, req, **kwargs): |
64 def is_user_session(cls, req, **kwargs): |
65 """repository side only selector returning 1 if the session is a regular |
65 """repository side only selector returning 1 if the session is a regular |
66 user session and not an internal session |
66 user session and not an internal session |
67 """ |
67 """ |
68 return req.is_internal_session |
68 return not req.is_internal_session |
69 |
69 |
70 @objectify_selector |
70 @objectify_selector |
71 def is_internal_session(cls, req, **kwargs): |
71 def is_internal_session(cls, req, **kwargs): |
72 """repository side only selector returning 1 if the session is not a regular |
72 """repository side only selector returning 1 if the session is not a regular |
73 user session but an internal session |
73 user session but an internal session |