Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-11917

Creation right of a content type is not checked during content creation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • 4.8.2, 4.9.0
    • 4.8.0
    • None
    • None

      It is possible to configure a content type with a right to allow creation of a new content of this type.

      This right will be used to display or not a content type in the "Add content" gallery. => OK

      But this right will not be checked during the actual creation => KO

      Step to reproduce :

      • Take a user with the right to add a content to a page and the Web_Right_Article_Create right on general context.
      • Select the zone and click on the "Add Content" button (but don't select any type yet).
        You should see the "Article" type in the gallery.
      • Using a different browser, log in with a different user and edit the first user right so that he doesn't have the Web_Right_Article_Create right on general context.
      • Get back to the first browser and add a new article to the zone. (without refreshing the page or reselecting the zone.)
      • The creation succeed => KO

            Unassigned Unassigned
            ggouin Guillaume Gouin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: