I'm afraid your question is so broad that to give you a complete
answer would take too long to answer, so here's the short answer with
a link to learn more.

Yes, you can create applications with symfony that have -some- pages
available to all visitors and -some- pages that require a user to
login.

http://www.symfony-project.org/jobeet/1_4/Doctrine/en/13#chapter_13_application_security

On Mon, May 3, 2010 at 12:34 AM, nazgul17 <nazgu...@gmail.com> wrote:
> Plugin sfDoctrineApplyPlugin seems exactly what I need. But i catch
> the occasion to ask some question:
>
> Would it be possible to run some query on users table?
> Would it be possible to create a table which refers to users table?
> If I wanted to add some actions to users class, I could refer to
> classic Doctrine methods like setters, getters, save, ... ?
> The customizations you talked about: could you briefly explain where
> should I made edits?
> For plugins, are there APIs?
>
> Hope these are not stupid questions ^^
>
> Marco
>
> On 2 Mag, 22:01, Pietrino Atzeni <pietrino.atz...@gmail.com> wrote:
>> > Hello to everyone. I am new to Symfony, so I ask you to forgive me if
>> > my question is a noob question. Anyway, looking in documentation /
>> > tutorials I couldn't find a solution.
>>
>> > The problem is the following:
>> > I want to build a website where I have only a few pages free to view
>> > for every one. Those who wants to see all the other page have to
>> > register. This is something like a normal forum.
>>
>> > Is that possible? All I found is the sfDoctrineGuardPlugin plugin, but
>> > all it says is that for creating useres I must use a task, and this is
>> > not what I want: I want everyone to feel free to subscribe whenever
>> > they want, without my confirmation.
>>
>> > Than you in advance
>> > Marco, Italy
>>
>> Ciao Marco,
>> the task is needed only if you need to promote a user. The
>> sfDoctrineGuardPlugin helps you with a "little more advanced than basic"
>> login/logout methods, but you can easily create register/subscribe
>> methods as needed.
>>
>> If you look at the sfDoctrineApplyPlugin, you'll see how to customize
>> those functions (you can easily remove the required activation).
>>
>> Hope this helps... If not, feel free to ask anything!
>>
>> Pietro
>>
>> --
>> If you want to report a vulnerability issue on symfony, please send it to 
>> security at symfony-project.com
>>
>> You received this message because you are subscribed to the Google
>> Groups "symfony users" group.
>> To post to this group, send email to symfony-users@googlegroups.com
>> To unsubscribe from this group, send email to
>> symfony-users+unsubscr...@googlegroups.com
>> For more options, visit this group 
>> athttp://groups.google.com/group/symfony-users?hl=en
>
> --
> If you want to report a vulnerability issue on symfony, please send it to 
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>



-- 
Gareth McCumskey
http://garethmccumskey.blogspot.com
twitter: @garethmcc

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to