Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 52 lines (30 sloc) 2.265 kB

csSecurityTaskExtraPlugin

The csSecurityTaskExtraPlugin provide some new tasks to the symfony command line tool

  • app:security application : Assess security coverage in your application
  • app:route-security application : Assess security coverage of routes in your application
  • app:group-security application [group] : Assess security coverage for groups in your application
  • app:user-security application [user] : Assess security coverage for users in your application

Examples

The app:security task outputs a readable list of security.yml specifications in your application

$ ./symfony app:security frontend

App Security

The app:route-security task compares your security.ymls to all the routes in your application

$ ./symfony app:route-security frontend

Route Security

You can also list who has access to which actions specified in security.yml with the group-security task.

$ ./symfony app:group-security frontend

Group Security

Pass the name of an sfGuardGroup object as the second argument to narrow down your output

$ ./symfony app:group-security frontend author

Group Security

List users who has access with the user-security task.

$ ./symfony app:user-security frontend

User Security

Pass the username or id of an sfGuardUser object as the second argument to narrow down your output

$ ./symfony app:group-security frontend andyadministrator
OR
$ ./symfony app:group-security frontend 3

User Security

Please send all comments or questions to Brent Shaffer

Jump to Line
Something went wrong with that request. Please try again.