MobileFirst 7.0 Application Center user management

254 Views Asked by At

I have uploaded two apps on Application Center Console. I also have created two users that should see only one of the apps. I have teste with and without restrictions, but the users in appcenterusergroup cannot see any of the Apps. Server.xml configuration looks like this:

 <basicRegistry>
            <user name="demo" password="demo"/>
            <user name="salesappdemo" password="salesappdemo"/>
            <user name="admin" password="admin"/>     

        <group name="appcentergroup">     
            <member name="admin"/>
        </group>

         <group name="appcenterusergroup">
            <member name="demo"/>
            <member name="salesappdemo"/>
         </group>

    </basicRegistry>

    <application id="appcenterconsole" name="appcenterconsole" location="appcenterconsole.war" type="war">
        <application-bnd>
            <security-role name="appcenteradmin">
                <group name="appcentergroup"/>
            </security-role>
             <security-role name="appcenteruser">
             <group name="appcenterusergroup"/>
         </security-role>
        </application-bnd>
    </application>  

To summarize:

-Installer check box in the AppcenterConsole is checked.

-The applications Access control is now Unrestricted. Later I plan to add restriction so that each user should see a different application.

-I added a appcenteruser Group into server.xml with two users that are not able to see the uploaded applications

-The admin user from appcenteradmin Group IS ABLE TO see and download the applications.

Am I missing something into server.xml or other LDAP configuration or is Application Center not working properly?

2

There are 2 best solutions below

1
On BEST ANSWER

Finaly I got it working, the error was that I added the group name into

<!-- Declare the IBM Application Center Console application. -->
<application id="appcenterconsole" name="appcenterconsole" location="appcenterconsole.war" type="war">

but correctly is to add here:

<!-- Declare the IBM Application Center Services application. -->
    <application id="applicationcenter" name="applicationcenter" location="applicationcenter.war" type="war">

So user groups for mobilefirst-appcenter should be added into

<application id="applicationcenter" name="applicationcenter" location="applicationcenter.war" type="war">**

To continue, when you want different users to get different applications, it does't work on web interface. you must install IBM App Center application on device. The apk is delivered with the Server. Only then the restrictions will work. Anyway distributing IBM App Center over Application Center drives to a security problem, while you must login on web, and the web allows seeing all applications, it cannot restrict user rights.

10
On

Uploading apk or ipa alone in the AppcenterConsole /appcenterconsole/console.html won't provide you with the installation in the /applicationcenter/installers.html installer.

You need to check the installer check box in the AppcenterConsole to view it on the installer

enter image description here

The above Properties will appear once you click on the .apk or .ipa file in the /appcenterconsole/console.html just check the installer and click apply and ok buttons.

go to the /appcenterconsole/console.html

See the option called AccessControl : which will be present along with your apk file at the right side of you apk file like below image

enter image description here

Click on that and there will be an option called Access control enabled check the box and add your users or groups or make it unchecked so it is unrestricted so that all can use it.