Skip to content
Fourohtwo

detect.halowerk.com/v1/F-A-NEXT-POSIX_ACL/posix-acl-entry-class-permission-selec

Returns request-specific class and mask selection, especially named-user precedence and combined rwx requests that cannot be assembled across multiple matching group entries, for an offline Unix ACL migration agent.

BaseAnswering
POSThttps://detect.halowerk.com/v1/F-A-NEXT-POSIX_ACL/posix-acl-entry-class-permission-selection

Uptime100% of 4 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://detect.halowerk.com/v1/F-A-NEXT-POSIX_ACL/posix-acl-entry-class-permission-selection", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"artifact":{"posix_acl":{"acl":{"group":1,"group_perm":2,"groups":[{"id":3,"perm":4}],"mask":6,"other_perm":1,"owner":1,"owner_perm":4,"users":[{"id":2,"perm":7}]},"claim":1,"requests":[{"groups":[],"uid":1,"want":2},{"groups":[],"uid":2,"want":4},{"groups":[1,3],"uid":3,"want":6}]}}}),
});
console.log(await res.json());

Example input

{
  "artifact": {
    "posix_acl": {
      "acl": {
        "group": 1,
        "group_perm": 2,
        "groups": [
          {
            "id": 3,
            "perm": 4
          }
        ],
        "mask": 6,
        "other_perm": 1,
        "owner": 1,
        "owner_perm": 4,
        "users": [
          {
            "id": 2,
            "perm": 7
          }
        ]
      },
      "claim": 1,
      "requests": [
        {
          "groups": [],
          "uid": 1,
          "want": 2
        },
        {
          "groups": [],
          "uid": 2,
          "want": 4
        },
        {
          "groups": [
            1,
            3
          ],
          "uid": 3,
          "want": 6
        }
      ]
    }
  }
}