Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When box ACL is set to public in auth scheme, app icon is not displayed #258

Open
tochi-y opened this issue Dec 25, 2019 · 2 comments
Open
Assignees
Labels

Comments

@tochi-y
Copy link
Member

tochi-y commented Dec 25, 2019

How to reproduce error

Perform the following ONLY if you are Unit Admin.

  1. Login to your Cell
  2. Click app-myboard to display the Box contents
  3. Display the ACL Settings
  4. Select public for Schema Auth
  5. Login to HomeApp and see that app-myboard is no longer displayed

image

@dixonsiu dixonsiu self-assigned this Dec 26, 2019
@dixonsiu
Copy link
Member

dixonsiu commented Dec 26, 2019

Uploaded a hotfix for the main screen in appdev. However, still need to check Box status (which will fail) for other screen like Box installation, etc.

ha.dispInsAppListSchema = function (schema, boxName, id) {
    var msgCnt = '';
    personium.getNotCompMessageCnt(cm.getMyCellUrl(), cm.getAccessToken()).done(function (data) {
        if (data.d.__count > 0) {
            var count = 0;
            for (i in data.d.results) {
                var res = data.d.results[i];
                if (boxName == res["_Box.Name"]) {
                    count++;
                }
            }
            if (count > 0) {
                msgCnt = count;
            }
        }
    }).fail(function (data) {
        console.log("fail");
    }).always(function (data) {
        ha.createLaunchLink(schema, boxName, msgCnt, id);
    });

};

@dixonsiu
Copy link
Member

dixonsiu commented Jul 2, 2021

Bug: User token cannot access to the box anymore. Can only revert the effect using admin token.

@dixonsiu dixonsiu added bug and removed enhancement labels Jul 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants