Directory

← Back

mtz-permission-check

Handles the permission checking based on desired requirements

Author

Rating

Popularity

<100

[ This description is mirrored from README.md at github.com/MaritzSTL/mtz-permission-check on 2019-05-22 ]

Build Status Published on webcomponents.org

<mtz-permission-check>

<h4>Control User's Authentication status</h4>
<div class="userStatus">
  <paper-checkbox checked="{{signedIn}}">
    Signed In
  </paper-checkbox>
  <paper-checkbox checked="{{anonymous}}">
    Anonymous
  </paper-checkbox>
  <paper-checkbox checked="{{authenticated}}">
    Authenticated
  </paper-checkbox>
</div>
<mtz-permission-check
  anonymous="[[anonymous]]"
  signed-in="[[signedIn]]"
  authenticated="[[authenticated]]"
  restamp>
  <template>
    Top Secret Content
  </template>
</mtz-permission-check>

Install the Polymer-CLI

First, make sure you have the Polymer CLI installed. Then run polymer serve to serve your element locally.

Viewing Your Element

$ polymer serve

Running Tests

$ polymer test

Your application is already set up to be tested via web-component-tester. Run polymer test to run your application's test suite locally.

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Dependencies

Polymer/polymer#^2.0.0

Released
2017-07-25
Maturity
TESTED
License
Other

Compatibility

Framework
Polymer 2.0+
Browser
Browser Independent

mtz-permission-check - Vaadin Add-on Directory

Handles the permission checking based on desired requirements mtz-permission-check - Vaadin Add-on Directory
**[ This description is mirrored from README.md at [github.com/MaritzSTL/mtz-permission-check](https://github.com//MaritzSTL/mtz-permission-check/blob/v0.1.1/README.md) on 2019-05-22 ]** [![Build Status](https://img.shields.io/travis/MaritzSTL/mtz-permission-check/master.svg?style=flat-square)](https://travis-ci.org/MaritzSTL/mtz-permission-check) [![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg?style=flat-square)](https://www.webcomponents.org/element/MaritzSTL/mtz-permission-check) # \ ```html

Control User's Authentication status

Signed In Anonymous Authenticated
``` ## Install the Polymer-CLI First, make sure you have the [Polymer CLI](https://www.npmjs.com/package/polymer-cli) installed. Then run `polymer serve` to serve your element locally. ## Viewing Your Element ``` $ polymer serve ``` ## Running Tests ``` $ polymer test ``` Your application is already set up to be tested via [web-component-tester](https://github.com/Polymer/web-component-tester). Run `polymer test` to run your application's test suite locally.
Online Demo
Documentation
View on GitHub
GitHub Homepage
Issue tracker
License

mtz-permission-check version 0.1.0
### Dependencies Polymer/polymer#^2.0.0

mtz-permission-check version 0.1.1
### Dependencies Polymer/polymer#^2.0.0

Online