Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6717105
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T08:48:48+00:00 2026-05-26T08:48:48+00:00

I have a particular module in Symfony 1.4.13 that is set to be secured

  • 0

I have a particular module in Symfony 1.4.13 that is set to be secured by default in its security.yml file. I have one particular object action that I would like accessible by anyone (logged out users), but can’t seem to find the correct way to right out action’s name in the YAML file to get a match on it.

Specifically, I have a project module with the typical index, show, create, etc. actions, as well as a runReport object action (so the action method’s name is executeListRunReport). The security.yml file is as follows:

all:
  is_secure: true

index:
  credentials: pm_view

show:
  credentials: pm_view

filter:
  credentials: pm_view

runReport:   # This is the one that is giving me problems
  is_secure: false

My method in actions.php is:

public function executeListRunReport(sfWebRequest $request) {
...
}

This works just fine for a logged in user when going to project/[idOfObject]/ListRunReport.

How can I write the security.yml file to allow anyone to access that action (directly from a URL that I generate by hand for example) without having to log in? Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T08:48:48+00:00Added an answer on May 26, 2026 at 8:48 am

    Turns out the problem was with the way I was naming the element in security.yml (sorry if the question wasn’t clear enough to indicate this was probably the original problem).

    It works with listRunReport, so the code would like like:

    listRunReport:
        is_secure:false
    

    @arsenik was correct in that the all: is_secure: true was unnecessary, but unfortunately that didn’t solve the problem (it can remain).

    Lesson is that when using list object actions that end up getting named as executeListXYZ, it has to be labeled as listXYZ in security.yml.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a particular file in a git source code repository that contains production
I have one particular FLA that is crashing every time I try to compile
I have made one project in java. Now in this particular module, i am
One particular quirk of the (otherwise quite powerful) re module in Python is that
We have a Java application with a particular module that checks if a temporary
I have a module that needs to return a reference URI in its payload.
I have a particular application that needs to calculate something very specific, and while
I have a particular web application that like most others, has to account for
I have a particular method that is occasionally crashing with an ArgumentException: Destination array
In a custom module, I have the following (to add javascript to a particular

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.