mike-marcacci / gandhi

The open source, online grant management system.
GNU Affero General Public License v3.0
36 stars 17 forks source link

Merge "visible" and "lock" #53

Closed mike-marcacci closed 10 years ago

mike-marcacci commented 10 years ago

In light of #52, the current "lock" spec seems a bit unnecessary, and the "visible" array seems under-featured... and I got a request for conditional hiding from BIG.

Obvious decision is to deprecate "lock" and move its functionality to "visible":

"visible": {
        "staff": true,
        "applicant": {
            "open": ["event1"],
            "close": []
        },
        "council":  {
            "open": true,
            "close": ["event1"]
        },
        "reviewer": true
    }
}