Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
C:\ProgramData\Signifikant\Assert

Info

Version 5.0 information

In version 5.0 permissions to functions in Manager is introduced. Data permissions have to be tagged in permissions.config to appear as permissions on data.

...

Code Block
languagexml
	<PermissionTemplates>
		<PermissionTemplate>
			<Name>Default</Name>
			<GroupNames>Price,PriceDisplayModes,PlaceOrder,Bulletin,Availability,MyAccount,SafetyParts</GroupNames>
		</PermissionTemplate>
		<PermissionTemplate>
			<Name>Default Temporary Shipping Address</Name>
			<GroupNames>Price,PriceDisplayModes,PlaceOrder,Bulletin,Availability,MyAccount,SafetyParts,TemporaryShippingAddress</GroupNames>
		</PermissionTemplate>
	</PermissionTemplates>


The descriptions on the groups shown in the web viewer is fetched from the <PermissionGroups> block in profile.config.

...

Code Block
languagexml
	<PermissionGroups>
		<PermissionGroup>
			<Name>Administrators</Name>
			<Description>Permission to administer users, pricelists</Description>
		</PermissionGroup>
		<PermissionGroup>
			<Name>LocalAdministrators</Name>
			<Description>Permission to administer users in a region</Description>
		</PermissionGroup>
	</PermissionGroups>


Permissions.config

The permissions.config is located at: 

...

Code Block
languagexml
<ResourcePermission>
   <Id>6</Id>
   <Enabled>true</Enabled>
   <Name>MyAccount</Name>
   <Note>Users can access My Account settings</Note>
   <Groups>
      <string>EndClient</string>
   </Groups>
</ResourcePermission>
<ResourcePermission>
   <Id>7</Id>
   <Enabled>true</Enabled>
   <Name> Feedback </Name>
   <Note>Users can access Feedback</Note>
   <Groups>
      <string>EndClient</string>
   </Groups>
</ResourcePermission>
<ResourcePermission>
   <Id>8</Id>
   <Enabled>true</Enabled>
   <Name>Bulletin </Name>
   <Note>Users can Bulletin</Note>
   <Groups>
      <string>ServiceTeam</string>
   </Groups>
</ResourcePermission>

<!-- Alternative syntax -->
<ResourcePermission name="PlaceOrder" enabled="true" note="Users can place order" 
  groups="Administrators,CompanyAdministrators,EndClient"/>
Code Block

In above example “EndClient” group is shared between Feedback and MyAccount whereas Bulletin is available to only groups called ‘ServiceTeam’.

Info

Debugging permissions on users is sometimes needed.

See Technical documentation - Getting user's information and permissions for actual how permissions on a signed in users may be retrieved.

Filter by label (Content by label)
showLabelsfalse
max5
spacesASKB
showSpacefalse
sortmodified
typepage
reversetrue
labelspermission function access user groups
cqllabel in ( "function" , "access" , "user" , "groups" , "permission" ) and type = "page" and space = "ASKB"

...