I checked out the plugin, it seems a little complicated; the edit user
page sends an email using Zend mail...
How come editing your profile isn't a part of sfDoctrineGuardPlugin ?
Surely I cannot be the first one to want that functionality on their
website !
--
If you want to report a
This plugin have modules to edit user permissions and groups, no ?
Regards,
Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
On Mon, Feb 7, 2011 at 11:51 AM, Manu emmanuel.parf...@gmail.com wrote:
I checked out
Yes.
But logged in users shouldn't be able to change their permissions,
only their password, email, Profile, etc.
--
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
On Mon, 7 Feb 2011 02:51:28 -0800 (PST), Manu emmanuel.parf...@gmail.com
wrote:
I checked out the plugin, it seems a little complicated; the edit user
page sends an email using Zend mail...
How come editing your profile isn't a part of sfDoctrineGuardPlugin ?
Surely I cannot be the first one
Ok, then let's forget about the Profile for the moment.
How can I let users change their password, login and email ?
--
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
Erm.
Create a form that once they are logged in they can edit and when submitted
gets saved to the database?
On Mon, Feb 7, 2011 at 1:01 PM, Manu emmanuel.parf...@gmail.com wrote:
Ok, then let's forget about the Profile for the moment.
How can I let users change their password, login and
I'll have to rewrite sfDoctrineGuard's hashing methods and validators
--
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
On Mon, 7 Feb 2011 04:22:44 -0800 (PST), Manu emmanuel.parf...@gmail.com
wrote:
I'll have to rewrite sfDoctrineGuard's hashing methods and validators
You can also extend the form provided in the plugin and unsetting the
fields you don't want.
--
Christophe | Stof
--
If you want to report a
Yes, that's what I tried. But on saving the permissions and
is_active fields are saved to blank values
--
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
class mysfGuardUserAdminForm extends PluginsfGuardUserForm
{
public function configure()
{
parent::configure();
$authorForm = new authorForm($this-object-Author);
unset($authorForm['id'], $authorForm['sf_guard_user_id'],
$authorForm['slug']);
$this-embedForm('Author',
Now the form won't validate, saying that created_at and updated_at are
required... ! Oo
--
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
Did I mention that it's my first symfony project ? :)
--
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
Yes, original does require Zend mail, but that's why I created fork,
which uses Swift mailer, which is included in symfony
On Feb 7, 11:51 am, Manu emmanuel.parf...@gmail.com wrote:
I checked out the plugin, it seems a little complicated; the edit user
page sends an email using Zend mail...
I'd recommend using $this-useFields() instead of unsetting the fields
you don't want. It protects you from accidentally blanking new fields
if you forget to unset them across all forms for that object, and as a
bonus you can pass an argument to it to set the order that the widgets
appear.
On Feb
class mysfGuardUserAdminForm extends PluginsfGuardUserForm
does not validate, saying that created_at and updated_at are required.
class mysfGuardUserAdminForm extends BasesfGuardUserAdminForm
validates, but sets the values it doesn't receive to null
--
If you want to report a vulnerability
Hello,
I have some trouble with a project I'm building with symfony 1.4
doctrine 1.2. I have a Page and a Tag model. They're bound through a
PageTag refClass in a m2m relationship.
Since the tag class is also bound to several other models, I'm trying
to keep track of a tag's associations into
Hi visitors,
I have some class files in /app/my_app/lib/.
Symfony load the files (*.php) automatically.
Is there any way to skip the particular class files from autoloading?
Thanks
-Imran
--
If you want to report a vulnerability issue on symfony, please send it to
security at
Hi
I am facing the same issue. As you I did not find any nice solution, so I
have modified the action.class.php of my admin module and edit the
processForm as a workaround.
$permissionsArray = $request-getParameter($form-getName());
$pArray = $permissionsArray['Compte']['permissions_list'];
Got it working, but now I'm experiencing user persistence problems.
Seems every link just redirects me to the login screen after I've
already logged in. When the web profiler interrupts the forward I get
an Anonymous user, and then when I get back to the login screen and it
has my proper user in
hi,
data-load in a non-english application with this fixture create a blank
record for 'en' in the table and give this error:
062 Duplicate entry 'en-' for key
Is the english always required ??
Article:
actAs:
Timestampable: ~
I18n:
fields: [ title ]
actAs:
On Mon, 7 Feb 2011 07:43:49 -0800 (PST), Justin Fortier
justfort...@gmail.com wrote:
Got it working, but now I'm experiencing user persistence problems.
Seems every link just redirects me to the login screen after I've
already logged in. When the web profiler interrupts the forward I get
an
load them into the action as you need them :)
On Mon, Feb 7, 2011 at 8:20 AM, Imran im...@allies.co.in wrote:
Hi visitors,
I have some class files in /app/my_app/lib/.
Symfony load the files (*.php) automatically.
Is there any way to skip the particular class files from autoloading?
My head hurts. Everyone seem to say that it's easy to do, but I can't
find one tutorial on it, nor anyone to explain it to me. :(
Please help, the profile-editing-thing is the last thing I'm missing
on my blog.
--
If you want to report a vulnerability issue on symfony, please send it to
I'm using two firewalls already. Everything was running really well
until the recent updates where they moved the security bundle, and
moved the vendor location. Once again, thanks for all your help it
really is appreciated!
Here's a look at my security.config (obviously plaintext is for
testing
Read the source code, you basically need to make use a form that inherits
one of the sfGuardUser forms that includes the password field on it. The
source code is highly self documenting. Reading the source code is the best
way to figure out simple problems like this.
On Mon, Feb 7, 2011 at 11:23,
I've upgraded my development tree from vPR5 to vPR6. Now security is
broken in my application.
I've got this in my config.yml:
security.config:
encoders:
Symfony\Component\Security\User\AccountInterface:
algorithm: plaintext
providers:
main:
users:
frenck: {
On Mon, 7 Feb 2011 08:06:23 -0800 (PST), Frenck fre...@gmail.com wrote:
My application throws:
InvalidArgumentException: There is no extension able to load the
configuration for security.config (in /var/www/PostOfficeSymfony/
postoffice/config/security.yml). in
You should be able to customize the autoload.yml to add an exclude dir and
place php files in those dirs.
See more information here:
http://www.symfony-project.org/reference/1_4/en/14-Other-Configuration-Files
gabriel
--
If you want to report a vulnerability issue on symfony, please send
Hi,
I'm trying to send emails using this code:
var_dump($this-getMailer()-composeAndSend( //this outputs '0'
'f...@example.com',
'j.gar...@jander.eu',
'Subject',
'Body'
));
The factories configuration is this (I have the same configuration in
my
Hello,
I have 2 problems with a custom form, which is not based on an object.
I'm using sf 1.4.8
First problem is with a validator. I have an input text field which
should contains a string which looks like a date. The format must be
dd-mm- (for example 07-02-2011).
Here is the code where I
Hello there
How does the Symfony 2 ACL and roles interact?
I've given my users a number of ACL entries to work with. However, I would
like ROLE_ADMIN to have all permissions, without needing to add ACL entries
for each admin user for each object.
How is this done?
--
If you want to report a
Le 07/02/2011 18:42, phil0 a écrit :
Hello there
How does the Symfony 2 ACL and roles interact?
I've given my users a number of ACL entries to work with. However, I
would like ROLE_ADMIN to have all permissions, without needing to add
ACL entries for each admin user for each object.
How is
Ah that seems reasonable.
Where would I put that code?
--
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
Hey Frenck,
I had problems with this too. I moved my security.config into my
config.yml, and that seemed to alleviate some problems. I also enabled
the SecurityBundle in my AppKernel.php ( new Symfony\Bundle
\SecurityBundle\SecurityBundle() ).
Now it at least recognizes the security bundle, but
Le 07/02/2011 18:49, phil0 a écrit :
Ah that seems reasonable.
Where would I put that code?
In the same place where you put your other ACL entries.
You still have to define an entry for each domain object (as each domain
object has its own ACE) but a single entry will do the work for all
Hmm that sounds weird.
So there is no way of adding a super admin?
Perhaps overriding the security context vote method would do the trick?
--
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
Le 07/02/2011 18:49, Justin Fortier a écrit :
Hey Frenck,
I had problems with this too. I moved my security.config into my
config.yml, and that seemed to alleviate some problems. I also enabled
the SecurityBundle in my AppKernel.php ( new Symfony\Bundle
\SecurityBundle\SecurityBundle() ).
there
Hi,
when i do a sfGuardUserPeer::doSelect(new Criteria()), i get an object
like this:
object(sfOutputEscaperArrayDecorator)[114]
private 'count' = int 1
protected 'value' =
array
0 =
object(sfGuardUser)[108]
protected 'profile' = null
protected 'groups'
After updating to PR6, and reading a new piece of documentation about
forms: http://docs.symfony-reloaded.org/guides/forms/overview.html I've made
a separate class for my Registration form(Previously everything was in
signupController). However I'm struggling to understand the role of
Ok, I've disabled the public firewall, and that seems to have done
it. Originally I needed the second firewall as the main one wouldn't
let me see login pages, and they seemed to work fine together in PR5.
I guess some things have tightened up for the better, but have caused
me some woes along the
Le 07/02/2011 19:18, Nikita Korotaev a écrit :
After updating to PR6, and reading a new piece of documentation about
forms: http://docs.symfony-reloaded.org/guides/forms/overview.html
I've made a separate class for my Registration form(Previously
everything was in signupController). However
You can write your own security voter to do this. There is no documentation
on this yet as it is quite advanced, but you can use the built-in security
voters as a starting point; overriding SecurityContext-vote() is a bad
idea...
Kind regards,
Johannes
On Mon, Feb 7, 2011 at 7:05 PM, phil0
Thx Christophe,
That was indeed the solution.
Added: new Symfony\Bundle\SecurityBundle\SecurityBundle()
To my registerBundles() function in my kernel.
../Frenck
On 7 feb, 17:52, stof s...@notk.org wrote:
On Mon, 7 Feb 2011 08:06:23 -0800 (PST), Frenck fre...@gmail.com wrote:
My application
I'm new here so please excuse my lack of etique knowledge.
I build a pretty big site using PR5, and I'm trying to refactor the
code into the new PR6 formats - mainly renaming template files,
redoing the forms etc.
I've got it 99% working, but for some reason I can't submit any forms.
It keeps
Can you show the code of your form and the template please?
That sounds strange.
Bernhard
--
Software Architect Engineer
Blog: http://webmozarts.com
Twitter: http://twitter.com/webmozart
--
If you want to report a vulnerability issue on symfony, please send it to
security at
Hi Nikita,
Yes, your field definitions go into configure(). If you want to group
fields, just use a Form as well - FieldGroup doesn't exist anymore.
There are two different ways to construct a form:
1) new Form(name, options) - this is for forms where you want to pass
all options yourself
2)
Le 07/02/2011 20:57, ebloa a écrit :
Hi
After updating my Symfony 2 vendors I receive the following error on
every request:
Fatal error: Call to a member function set() on a non-object in /[...]/
vendor/symfony/src/Symfony/Component/Security/Http/Firewall/
ExceptionListener.php on line 165
It
Sure, I've tried all sorts of combinations to no avail. At the moment
my createAction (which generates/receives the form is)
public function createAction()
{
// Show the form for creating a new deck
$userRequest = new NewUserRequest();
$form =
When editing our module's actions.php i run into the issue of a 20
actions.class.php files.
Is it possible to rename it to module_name.actions.class.php or
something else? This a feature request?
Thanks!
--
If you want to report a vulnerability issue on symfony, please send it to
security at
I don't get it.
What is the problem ?
Do you know you can break your actions methods into individual classes ? Is
it this ?
Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
On Mon, Feb 7, 2011 at 5:53 PM, George
Ok, what I've done now is:
I created a new DI service into which the SecurityContext is injected.
This service has a method called vote() that takes the same parameters as
SecurityContext::vote(), but this method calls SecurityContext::vote() with
the admin role. If the role doesn't have
As I said, this is a bad idea nonetheless...
It might be working now, but it will only cause you problems further down
the road. It's better to go with the proper solution I mentioned before.
Kind regards,
Johannes
On Mon, Feb 7, 2011 at 10:05 PM, phil0 fis...@gmail.com wrote:
Ok, what I've
I think he means.. he has say 10 modules each with an actions.class.php.
When these are all open in an editor, the file name shows actions.class.php,
and so it becomes confusing what file you are editing and you have to click
like 5 tabs to find the actions file you are looking for. So applying
Ah, thank you :)
On Eclipse, I'm using to Ctrl+Shift+T for Type, then typing the name of the
file. Keeping hands on the keyboard, or playing with Ctrl+PageUp or Down to
navigate between open editors (I'm on ubuntu, dunno behavior on other OSes).
Anyway, how to change this ?
Look at the
It is useful to prevent html injection (and a few similar) attacks.
Imagine the following: someone registers as h1username/h1, and
then you create a user list page. If you'd simply output the name, his
name would be quite big, but with symfony's output escaping simply
echoing `$user-username` is
Try using sfValidatorDate. Here's a working example (you'll need to
adapt the format):
new sfValidatorDate(array(date_format =
'~(?Pyear\d{4})\.(?Pmonth\d{2})\.(?Pday\d{2})~')));
On Mon, Feb 7, 2011 at 18:41, StephaneQ stephanequan...@gmail.com wrote:
Hello,
I have 2 problems with a custom
I am having the EXACT same problem.
--
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
57 matches
Mail list logo