Add defaultbranch
[src/app-framework-main.git] / doc / writing-config.xml.md
index 54172ff..f74f8bc 100644 (file)
@@ -139,7 +139,35 @@ features.
 
 The features planned to be implemented are described below.
 
-### feature name="urn:AGL:provides-binding"
+### feature name="urn:AGL:required-binding"
+
+List of the bindings required by the widget.
+
+Each required binding must be explicited using a <param> entry.
+
+#### param name=[required binding name]
+
+The value is either:
+
+- required: the binding is mandatorily needed except if the feature
+isn't required (required="false") and in that case it is optional.
+- optional: the binding is optional
+
+### feature name="urn:AGL:required-permission"
+
+List of the permissions required by the widget.
+
+Each required permission must be explicited using a <param> entry.
+
+#### param name=[required permission name]
+
+The value is either:
+
+- required: the permission is mandatorily needed except if the feature
+isn't required (required="false") and in that case it is optional.
+- optional: the permission is optional
+
+### feature name="urn:AGL:provided-binding"
 
 Use this feature for each provided binding of the widget.
 The parameters are:
@@ -180,33 +208,22 @@ OPTIONAL
 
 The value is a space separated list of binding's names that the binding needs.
 
-### feature name="urn:AGL:required-permissions"
-
-List of the permissions required by the widget.
-
-Each required permission must be explicited using a <param> entry.
-
-#### param name=[required permission name]
-
-The value is either:
-
-- required: the permission is really needed.
-- optional: the permission isn't mandatory
-
-### feature name="urn:AGL:defined-permissions"
+### feature name="urn:AGL:defined-permission"
 
 Each required permission must be explicited using a <param> entry.
 
 #### param name=[defined permission name]
 
-The value is the level of the defined permission:
+The value is the level of the defined permission.
+Standard levels are: 
 
-- system
-- platform:
+- system
+- platform
 - partner
-- public:
-
+- public
 
+This level defines the level of accreditation required to get the given
+permission. The accreditions are given by signatures of widgets.