Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Gavin Lyons 13 posts 71 karma points
    Aug 13, 2013 @ 10:32
    Gavin Lyons
    0

    Permissions

    What would be great to make this package complete, would be the ablity to restrict by user. i.e a checkbox in the Sections panel under the User Permissions - say a 'Dictionary' checkbox.

    Nice work!

    Thanks

    Gavin

     

  • Zac 223 posts 575 karma points
    Aug 29, 2013 @ 15:24
    Zac
    0

    Hi Gavin,

    What you can do is limit access to the dashboard by username or user type alias.

    In config/Dashboard.config:

    <section alias="Futuristic.DictionaryDashboardSection">
        <areas>
          <area>default</area>
          <area>content</area>
        </areas>
        <tab caption="Dictionary">
    
          <control showOnce="false" addPanel="true" panelCaption="">/usercontrols/Futuristic/DictionaryDashboard/editor.ascx</control>
          <control showOnce="false" addPanel="true" panelCaption="">
            /usercontrols/Futuristic/DictionaryDashboard/export.ascx
            <access>
              <grant>editor</grant>
              <grant>admin</grant>
            </access>
          </control>
          <control showOnce="false" addPanel="true" panelCaption="">
            /usercontrols/Futuristic/DictionaryDashboard/import.ascx
            <access>
              <grant>editor</grant>
              <grant>admin</grant>
            </access>
          </control>
        </tab>
      </section>
    

    However this really doesn't deal with giving permissions to edit dictionary based on the user's language. In other words, for multi-site installations you can't seem leave countries only able to edit their own language.

Please Sign in or register to post replies

Write your reply to:

Draft