ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

@stephaniewalter.bsky.social Do you have any blog posts or good write ups on the best way to handle/display content based on role/permissions? i.e., if user does not have permission to delete item, should the delete button be grayed out, disabled, or show a toast when clicked?

May 2, 2025, 11:17 PM

Record data

{
  "uri": "at://did:plc:n6l2dfnfwxy5kpyb7w2qwtyc/app.bsky.feed.post/3lo7xhl44ys25",
  "cid": "bafyreic56cfsmf3tvj2kjyyqfxp4lsoc3i46br5cs6tv3xtmuuiace34fm",
  "value": {
    "text": "@stephaniewalter.bsky.social Do you have any blog posts or good write ups on the best way to handle/display content based on role/permissions? i.e., if user does not have permission to delete item, should the delete button be grayed out, disabled, or show a toast when clicked?",
    "$type": "app.bsky.feed.post",
    "langs": [
      "en"
    ],
    "facets": [
      {
        "$type": "app.bsky.richtext.facet",
        "index": {
          "byteEnd": 28,
          "byteStart": 0
        },
        "features": [
          {
            "did": "did:plc:bjpczagdj45x4rrjshvjxcnc",
            "$type": "app.bsky.richtext.facet#mention"
          }
        ]
      }
    ],
    "createdAt": "2025-05-02T23:17:36.215Z"
  }
}