implement permission roles - the backend should be done except for maybe a couple of small tweaks. Now we just need to define the rest of the roles and create a chooser for them. Adam started on this some time back but I don't know where that has gone.

This commit is contained in:
friendica
2014-09-17 17:59:46 -07:00
parent cd79044778
commit 4014093572
7 changed files with 122 additions and 16 deletions

View File

@@ -6,11 +6,18 @@ function abook_perms_msg() {
}
$(document).ready(function() {
if(typeof(after_following) !== 'undefined' && after_following)
connectFullShare();
if(typeof(after_following) !== 'undefined' && after_following) {
if(typeof(connectDefaultShare) !== 'undefined')
connectDefaultShare();
else
connectFullShare();
}
$('#id_pending').click(function() {
connectFullShare();
if(typeof(connectDefaultShare) !== 'undefined')
connectDefaultShare();
else
connectFullShare();
});
$('.abook-edit-me').click(function() {