Menu

Allow only modification of one field in class via Profile

Marius
2015-06-01
2015-06-10
  • Marius

    Marius - 2015-06-01

    Hello,
    we are currently implementing iTop at our firm and are spending a lot of work customizing it.

    Our current task is creating a profile that is only allowed to modify one field of our class "Inventar".
    We have an action "ev_confirm" that modifies exactly one field of the class. The field name is "confirmation".

    I now want to create a profile that is only allowed to modify the field "confirmation" of the class "Inventar".
    I tried the following, but that still allows me to modify all the other fields, too.

    Can you help me out here? Thanks for your time!

    <?xml version="1.0" encoding="UTF-8"?>
    <itop_design xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0">
      <classes/>
      <menus/>
      <user_rights>
      <groups>
          <group id="FIM User" _delta="define">
                <classes>
                  <class id="Inventar">
                    <fields><field id="confirmation"></field></fields>
                  </class>
                </classes>
              </group>
        </groups>
         <profiles>
          <profile id="50" _delta="define">
            <name>FIM User</name>
            <description>casual FIM User, only welcome Menu</description>
            <groups>
                <group id="*">
                    <actions>
                      <action xsi:type="read">allow</action>
                      <action xsi:type="bulk read">allow</action>
                      <action id="ev_confirm" xsi:type="stimulus">allow</action>
                    </actions>
                </group>
                <group id="FIM User">
                    <actions>
                      <action xsi:type="write">allow</action>
                      <action xsi:type="bulk write">allow</action>
                      <action id="ev_confirm" xsi:type="stimulus">allow</action>
                    </actions>
                </group>
            </groups>
          </profile>
        </profiles>
      </user_rights>
    </itop_design>
    
     
  • dlp

    dlp - 2015-06-01

    What did you see on the Web interface about the right of this profile?

     
  • Marius

    Marius - 2015-06-02

    In the web interface it says i have complete write & bulk write rights for the whole class "Inventar"

    But I only want write / bulk write rights for one field of the class "Inventar"
    The web interface only shows the rights for a whole class. I want the user to only be able to write the field "confirmation".

    How can i get this to work?

     
  • Marius

    Marius - 2015-06-10

    Again this is really important:

    Can i create a user rights profile that allows the users to only modify ONE FIELD of a class?

    Please respond if you have any tips, thank you!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.