Summer of Code Idea: Class-based [Object] Permissions

2016-03-07 Thread Connor Boyle
ded to Django core, we'd want to use a name other than 'permissions' given that Django already has its own permissions system that uses that name. How does 'authorizations' sound? Connor Boyle Macalester College -- You received this message because you are subscribed

Re: [GSOC] Original Idea/Seeking Mentor: Conditions API (Related to Auth)

2016-03-19 Thread Connor Boyle
ne that's generally overridden by the developer or by common usage sub-classes–and the run() layer–which calls the evaluate() layer after picking which keyword arguments it should pass to it. On Thursday, March 17, 2016 at 1:31:37 AM UTC+8, Ryan Hiebert wrote: > > > On Mar

Re: [GSOC] Original Idea/Seeking Mentor: Conditions API (Related to Auth)

2016-03-19 Thread Connor Boyle
don't require these arguments and in fact require other arguments, although it does provide appropriate sub-classes for these extremely common usage cases. On Thursday, March 17, 2016 at 12:55:04 AM UTC+8, Connor Boyle wrote: > > I'm hoping to add a feature that I've thought

[GSOC] Original Idea/Seeking Mentor: Conditions API (Related to Auth)

2016-03-19 Thread Connor Boyle
I'm hoping to add a feature that I've thought Django has needed for a long time, and thought that Google Summer of Code would be an excellent opportunity for it. Basically, it would be an API for defining 'Conditions' and applying them to Views. Common usages would include restricting views bas

Re: [GSOC] Original Idea/Seeking Mentor: Conditions API (Related to Auth)

2016-03-19 Thread Connor Boyle
have any particular suggestions or (more likely) warnings, I'd really appreciate it. On Friday, March 18, 2016 at 11:01:27 PM UTC+8, Connor Boyle wrote: > > Yes, definitely! That was something I had in mind coming up with the > concept. The "Conditions" themselves ar

Re: [GSOC] Original Idea/Seeking Mentor: Conditions API (Related to Auth)

2016-03-19 Thread Connor Boyle
n Thursday, March 17, 2016 at 8:00:16 AM UTC-4, Connor Boyle wrote: >> >> My original inspiration actually was Django Rest Framework, but I wanted >> to show that I had actually thought it out and that it is indeed possible >> to implement in core Django (albeit not qu

Re: [GSOC] Original Idea/Seeking Mentor: Conditions API (Related to Auth)

2016-03-23 Thread Connor Boyle
ng. What I'm really hoping to get feedback on is the "Implementation" section–particularly the "Core", so please everyone critique at will. On Friday, March 18, 2016 at 11:08:57 PM UTC+8, Connor Boyle wrote: > > I'm still working on fleshing out how specifi

[GSoC 2016] Please Critique (Condition API - Related to Auth)

2016-03-24 Thread Connor Boyle
Hello Everyone, I would love to hear your critiques on my proposal and original idea for GSoC 2016, hopefully before the deadline tomorrow–although I plan on pursuing it no matter what, so any critique at any time would be welcome (i

Re: [GSoC 2016] Please Critique (Condition API - Related to Auth)

2016-03-25 Thread Connor Boyle
This is excellent! Thank you for your comments, they are very helpful and thorough–far from amateur. I'll address some of them in no particular order, starting with: >The 'access' conditions must be passed or else any action will be rejected and no acknowledgement will be made that it had to do

Re: [GSoC 2016] Please Critique (Condition API - Related to Auth)

2016-03-25 Thread Connor Boyle
> On your last point: This may be a very bad idea from the beginning, but I'd hope to experiment with making a wrapper object for form.cleaned_data whose (the wrapper object's) .__getattribute__() returns the value for that key in form.cleaned_data. For example: calling wrapper.name would get t

Re: [GSoC 2016] Please Critique (Condition API - Related to Auth)

2016-04-22 Thread Connor Boyle
Hello all, Is there any chance I could get some feedback on why this was not accepted? I am a little surprised since Jacob Kaplan-Moss seemed to indicate to me over IRC that this was very likely to get an award for GSoC. Thanks, Connor On Saturday, March 26, 2016 at 12:47:52 AM UTC+8, Connor

Re: [GSoC 2016] Please Critique (Condition API - Related to Auth)

2016-04-22 Thread Connor Boyle
t; suggest to get involved in the project and start submitting patches as > you're able. Mentors are more wiling to invest their time to help someone > who has a record of solid contributions. > > Tim > > On Friday, April 22, 2016 at 7:46:19 PM UTC-4, Connor Boyle wrote:

Conditions DEP

2016-06-05 Thread Connor Boyle
I'd like to make a proposal for the addition of a major new feature to Django. Back in late March of this year, I wrote an original Google Summer of Code proposal that received some interest from several members of the community, but

Re: Conditions DEP

2016-06-06 Thread Connor Boyle
wrote: > > Hi Connor, > > How would you prefer suggested tweaks to your proposal? Since it is on > GitHub, would you prefer pull requests? Thank you for taking the initiative! > > Regards, > > Tim > > On Sunday, June 5, 2016 at 10:52:57 PM UTC-4, Connor Boyl

Re: Conditions DEP

2016-06-06 Thread Connor Boyle
n 06/05/2016 07:52 PM, Connor Boyle wrote: > > I'd like to make a proposal for the addition of a major new feature to > > Django. Back in late March of this year, I wrote an original Google > > Summer of Code proposal > > <https://gist.github.com/cascadianblue/2