[hooks/security] provide attribute "add" permission
As of today, the update permission on attributes is checked at entity
*creation* time. This forbids using update permissions the proper way.
We set it to be checked at entity update time only.
We introduce a specific 'add' permission rule for attributes.
For backward compatibility, its default value will be the same as the
current 'update' permission.
Notes:
* needs a new yams version (ticket #149216)
* introduces two new 'add_permissions' rdefs (attribute - group|rqlexpr)
* if the update permission was () and the bw compat kicks in, the rule
is not enforced, to avoid un-creatable entity types -- this
restriction will be lifted when the bw compat is gone
* small internal refactoring on check_entity_attributes
* one small pre 3.6.1 bw compat snippet must be removed from schemaserial
Closes #2965518.
/*
translations for fullCalendar plugin
*/
$.fullCalendar.regional = function(lng, options){
var defaults = {'fr' : {
monthNames:
['Janvier','Février','Mars','Avril','Mai','Juin','Juillet','Août','Septembre','Octobre','Novembre','Décembre'],
monthNamesShort: ['janv.','févr.','mars','avr.','mai','juin','juil.','août','sept.','oct.','nov.','déc.'],
dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'],
dayNamesShort: ['Dim', 'Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Sam'],
titleFormat: {
month: 'MMMM yyyy', // ex : Janvier 2010
week: "d[ MMMM][ yyyy]{ - d MMMM yyyy}", // ex : 10 � 16 Janvier 2010,
day: 'dddd d MMMM yyyy' // ex : Jeudi 14 Janvier 2010
},
columnFormat: {'month': 'dddd',
'agendaWeek': 'dddd dd/M/yyyy',
'agendaDay': 'dddd dd/M/yyyy'},
axisFormat: 'H:mm',
timeFormat: {
'': 'H:mm',
agenda: 'H:mm{ - H:mm}'},
allDayText: 'journée',
axisFormat: 'H:mm',
buttonText: {
today: "aujourd'hui",
month: 'mois',
week: 'semaine',
day: 'jour'
}
}};
if(lng in defaults){
return $.extend({}, defaults[lng], options);
}
else {return options;};
};
;