Add http verb based predicates #5

Closed
pedersen opened this Issue Sep 24, 2012 · 4 comments

Comments

Projects
None yet
2 participants
@pedersen
Member

pedersen commented Sep 24, 2012

This issue existed in Trac. The original can be viewed at http://trac.turbogears.org/ticket/2231

This issue existed on SourceForge. The original can be viewed at https://sourceforge.net/p/turbogears2/tickets/60

@pedersen

This comment has been minimized.

Show comment Hide comment
@pedersen

pedersen Sep 24, 2012

Member

Original Author: pedersen, Original Timestamp: 2011-03-29 01:58:30.416000

Original Body: It will be great if we could have http verb predicates.

Use cases,

You want a subset of your users have read-only access to a section of your site. (ie, view admin but not edit it)

Or you want to make your site 100% private.


02/21/09 07:30:28 changed by mramm

This will likely not make it into b6, but if it's just new predicates and the're well tested it could go into one of the RC's I suppose. Otherwise it'll be 2.1.

Member

pedersen commented Sep 24, 2012

Original Author: pedersen, Original Timestamp: 2011-03-29 01:58:30.416000

Original Body: It will be great if we could have http verb predicates.

Use cases,

You want a subset of your users have read-only access to a section of your site. (ie, view admin but not edit it)

Or you want to make your site 100% private.


02/21/09 07:30:28 changed by mramm

This will likely not make it into b6, but if it's just new predicates and the're well tested it could go into one of the RC's I suppose. Otherwise it'll be 2.1.

@pedersen

This comment has been minimized.

Show comment Hide comment
@pedersen

pedersen Sep 24, 2012

Member

Original Author: pedersen, Original Timestamp: 2012-08-24 01:40:50.528000

Original Body: - version: 2.1.0 --> 2.1.5

  • milestone: 2.2.0 --> 2.3.0
Member

pedersen commented Sep 24, 2012

Original Author: pedersen, Original Timestamp: 2012-08-24 01:40:50.528000

Original Body: - version: 2.1.0 --> 2.1.5

  • milestone: 2.2.0 --> 2.3.0
@amol-

This comment has been minimized.

Show comment Hide comment
@amol-

amol- Jun 22, 2015

Member

It's not really clear to me what they should do.

Suppose you want to limit the access to only GET for some users that can be easily done using the @require decorator over a RestController. So what should the verb predicates do?

Member

amol- commented Jun 22, 2015

It's not really clear to me what they should do.

Suppose you want to limit the access to only GET for some users that can be easily done using the @require decorator over a RestController. So what should the verb predicates do?

@amol- amol- closed this Oct 13, 2015

@amol-

This comment has been minimized.

Show comment Hide comment
@amol-

amol- Oct 13, 2015

Member

Got no feedbacks on this, please re-open if still meaningful

Member

amol- commented Oct 13, 2015

Got no feedbacks on this, please re-open if still meaningful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment