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:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user