Skip to content

Instantly share code, notes, and snippets.

@dhamidi
dhamidi / Musi
Last active January 31, 2016 12:01 — forked from Trevorjoel/Musicandart.php
First project
<html>
<head>
<title>Music and Art</title>
<STYLE>
H1 { color: green }
H1 {font-family: arial; text-align: center;}
H2 {font-family: arial}
@dhamidi
dhamidi / AAAS.md
Last active December 31, 2015 02:59 — forked from leehambley/AAAS.md
Fix some typos.

Problem

Web applications need understand what permissions are granted to a current user in two key areas.

  1. When enforcing the permission server side (e.g returning 403 when trying to access a resource outside of one's graph)
  2. When rendering the user interface, so as not to render misleading controls (e.g "Edit this Widget", if the user lacks the appropriate permissions.

Further, in many applications in the wild (for better, or worse, perhaps I need new friends and colleagues) I've seen ways implemented to nerf or flat-out disable authorisation controls. In addition to the regular graph-based authorisation flow, the concept of super users is prevelant, and dangerous.

Background