Picture of Daniel 450
Registered 14 years 231 days
Daniel 450 Monday, 8 April 2024, 05:48 PM
151764 - App Modes - new feature
Hello,

we have noticed in V14 at the app object that there is a new input field "Modes". We only found in the V14 release notes "151764 - App Modes as new feature for rights management" but nothing in the V14 sdk under licensing.

Could you send us a link where this new feature is explained or explain it here what we could do with the feature and how to use id.
Picture of Peter Stock (innovaphone)
Moderator Registered 1 year 57 days
Peter Stock (innovaphone) Thursday, 11 April 2024, 10:08 AM
Re: 151764 - App Modes - new feature
Hi Daniel,

modes are used to define user access rights on the server side. They can be used to define which SQL statements may be executed and how config items can be accessed by a given user.

In relation to the app object, there is a description of the field here:

https://wiki.innovaphone.com/index.php?title=Reference14r1:Concept_Apps#App_Objects_Parameters

In relation to the SDK, the entry can be found below the Generic App.

https://sdk.innovaphone.com/14r1/doc/appgeneric.htm#modes

However, if you have different licenses for an app, you must also use different app objects as before.

The mode does not initially have anything to do with different license types for an app, but rather serves to distribute authorizations within an app object.

A good example is the Connect app.

The license is available here: innovaphone-connect

However, the app object still has the "admin" mode. This gives users the admin area in the UI + they can do other things in the backend on the server side.

Does that help you?

Best Regards,

Peter
Picture of Daniel 450
Registered 14 years 231 days
Daniel 450 Wednesday, 17 April 2024, 09:48 AM
Re: 151764 - App Modes - new feature
Hi Peter,

thank you for the answer. Thats help, but your last information with innovaphone-connect and admin mode i didn´t understand. Is it possible that innvaphone-connect should be a link?
Picture of Peter Stock (innovaphone)
Moderator Registered 1 year 57 days
Peter Stock (innovaphone) Wednesday, 17 April 2024, 10:25 AM
Re: 151764 - App Modes - new feature
Hi Daniel,

no, i have not used any link. But nethertheless, here is the Link to what i meaned:

I mentioned the "Connect" - App as example for this mechanism.

The Connect App has got only one Appobject with URL:

https://apps.yourdomain.de/yourdomain.de/messages/innovaphone-connect

So this is the normal URL for the App, like in other Apps.
And this is the URL for the App. (In mostly cases the User App)

In the Option "Mode", the Connect App has got the Mode:
"admin".

So, nothing is changed on the URL, and nothing is changed in view on the User App. (Evertything as before).

But with the Mode, you create an extra choice for Apps, which can assigned to a user.
"Connect~admin".

So it is not an extra "App Object", but an extra option for some users.

I know, this is quiet a little bit confusing in view of development with the SDK, because the SDK creates as default a user-app and a admin-app, just for the case you need it in that way.

Licensing (is not touched by this mechanism), but just to explain.

In view of Licencing, i think you already know, that this is a headmatch of the Appname.

So you can have licences for your app like this:

  • "innovaphone-appname-1"
  • "innovaphone-appname-2"

=>

Would Result in two App Ojects with this URLs:

  • https://apps.yourdomain.de/yourdomain.de/appname/innovaphone-appname-1
  • https://apps.yourdomain.de/yourdomain.de/appname/innovaphone-appname-2


But if you would create a license like:
  • innovaphone-appname

This License would ne guilty for App1 and App2, because of the head is matching.

Best Regards,

Peter







Screenshot_2024-04-17_101128.png

← You can define your color theme preference here