Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-323

Make AccessManager accessible or create methods to create Content with custom nodetype

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Minor
    • 2.1 Final
    • None
    • core
    • None
    • All

    Description

      snippet from the userlist:
      --------------------------

      hmm yes its missing, ll add this to current svn trunk.

      > There are constructor methods from the Content-Class that allow us to use our custom nodetypes, but the last argument
      > of this method is an AccessManager.
      > We found no way to retrieve the AccessManager from anywhere. So, we added an accessor to the ContentHandler-Class.

      AccessManager is created once you log in and yes its only accessible from the session. AccessManager is only used if you retrieve hierarchy manager
      from SessionAccessControl otherwise its ignored.
      ll add missing methods to Content class where it belongs.

      could you please add this to JIRA?
      http://jira.magnolia.info

      thanks

      • Sameer

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              scharles Sameer Charles
              bach Thomas Bach
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoR