vletroye / Mods

Mods can be used to Create or Open/Edit and Generate packages for Synology
Microsoft Public License
86 stars 10 forks source link

Multiple User support #3

Closed vanlooverenkoen closed 6 years ago

vanlooverenkoen commented 6 years ago

You currently support Multiple Users. But what I am looking for is the possibility to only give permission to the package to 3 users. Is it possible to add your package to the Applications Privileges tab? image

vletroye commented 6 years ago

This was an interesting challenge…

I found a third party package with such a feature (IPKGui) and, looking at its config, was able to reproduce it in “Mods Packager”. I found details in http://www.synology-wiki.de/index.php/Aufbau_der_Datei_%27config%27

To use the privilege in your own pages, read this interesting article: http://www.synology-forum.de/showthread.html?33516-HowTo-3rdparty-Apps-Anwendungsberechtigung-und-SynoToken

If you only want to grant access to your URL's/Script of WebApp, it will work out of the box ;)

            V. 
vanlooverenkoen commented 6 years ago

Can't get the acces to work. This is my setup?

image

vletroye commented 6 years ago

That's really weird ?! I can't see any reason why the Grant Privilege combo is not there. Can you share with me your SPK file ?

image

NB.: your url is incorrect... You are missing a / behind http:

vanlooverenkoen commented 6 years ago

If my window is maximized I couldn't see the "Grant Privilege". If the window is not maximized I can see the option. This is my current configuration. But my app is never shown in the Main Menu. In the package manager I can see that my package is running but it is not available in the Main Menu. all privileges are set to ALLOW. What am I doing wrong?

image

vletroye commented 6 years ago

Thx for the tip: I did fix the issue with the location of 'Grant Privilege' when resizing the window and will publish a new release asap.

In order to see the shortcut onto your url in the main menu, you need to select explicitly the option "Allow" in Control Panel > Privileges., for the required user (here under: for vletroye). If this user is already logged in, he has to log out and re-log in...

image

vanlooverenkoen commented 6 years ago

AAH :) relogin maybe add this to your WIKI aswell

vletroye commented 6 years ago

Wiki is sloooooowly under construction ;)

vanlooverenkoen commented 6 years ago

No problem :) thanks for the quick response