diff --git a/common/index.js b/common/index.js
index dbb312f7e..d43fcf4cf 100644
--- a/common/index.js
+++ b/common/index.js
@@ -19,5 +19,6 @@ module.exports = {
mixin: require('./mixin'),
display: require('./display'),
detail: require('./detail'),
- progressBar: require('./progress-bar')
+ progressBar: require('./progress-bar'),
+ role: require('./role')
};
diff --git a/common/role/README.md b/common/role/README.md
new file mode 100644
index 000000000..ceec19ede
--- /dev/null
+++ b/common/role/README.md
@@ -0,0 +1,37 @@
+# roles
+It is a wrapper tag, its only use is to protect its content.
+Warning: the content sould not be two dom element.
+The role tag is super easy to use, there are two concepts:
+
+- a user has at least one Role
+
+In a render function
+
+```javascript
+//SomeWhere else
+let Role = FocusComponents.common.role.component;
+
+render(){
+ return (
+
+
+ );
+}
+```
+- a user should have all roles
+
+In a render function
+
+```javascript
+//SomeWhere else
+let Role = FocusComponents.common.role.component;
+
+render(){
+ return (
+
+
+ );
+}
+```
diff --git a/common/role/example/index.html b/common/role/example/index.html
new file mode 100644
index 000000000..e943a888c
--- /dev/null
+++ b/common/role/example/index.html
@@ -0,0 +1,70 @@
+
+
+
+
+