Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1924

Let SQLFilters know the query type it is being applied to

    Details

    • Type: Improvement Improvement
    • Status: Reopened
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: ORM
    • Security Level: All
    • Labels:
      None

      Description

      I'm making an access control system and would like to automatically filter all queries based current user, targetEntity type and query type. Query type is relevant as different permissions are needed by the user for SELECT, UPDATE, DELETE and INSERT queries.

      I can access the first two things in my filter easily enough, but I cannot find a way to have the filter know what type of query the filter is being applied to.

        Activity

        Jan Knudsen created issue -
        Benjamin Eberlei made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Invalid [ 6 ]
        Jan Knudsen made changes -
        Resolution Invalid [ 6 ]
        Status Resolved [ 5 ] Reopened [ 4 ]

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Jan Knudsen
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: