« June 2005 | Main

Monday, July 11, 2005

[IPB 2.1] ACP Permissions

I've finally finished this feature off. Hoo-rah.

I've renamed it to "ACP Restriction Permissions" as it better suits the way the interface works. Basically, any admin in a group which has ACP access has full unrestricted access to the ACP. This only changes when they are added to the restrictions list. When first added, they don't have access to any area of the ACP.

The restrictions can be at tab level (Management, Look and Feel, etc), root feature level (Members, Forums, Template Editing, etc) and at sub-feature level (Add member, edit members, add forums, recount forums, etc) or a mixture of all three.

This means that if you just want an admin to manage skins, you can do this at the "Look and Feel" tab level. If you also wish to only allow them to edit existing skin sets, you can do so at feature and sub-feature level.

I won't bore you with how it works, back-end and database wise; apart from saying the actual PHP sources are picked through for permission checks and the database is built up from that which makes developing easier as I don't have to manually keep a list up to date.

The front end is mostly javascript and Ajax. I think this is a good example of how Ajax can take what would otherwise be a complex interface and make it much easier. Without such a system you'd have to rely on a series of page loads and a lot more PHP work to save state between pages.

You'll notice that the sub-feature level rows are auto-saved when another tab or feature tab is clicked. There is an optional manual save which turns red when a change has been made.

acp-perms.mov (Quicktime .mov 4.8mb)

UPDATED (12-July-05: New interface components) acp-perms2.mov (Quicktime .mov 2.2mb)

UPDATED (Again: Added quick links to allow perms for entire section) acp-perms.jpg

July 11, 2005 | Permalink | Comments (247) | TrackBack

Thursday, July 07, 2005

London

I feel compelled to comment on today's events.

I don't want to add speculation, or claim to know all the facts. News is still coming in and there are no hard figures on the number of fatalities and casualities and it still hasn't been confirmed, at the time of writing, exactly how many explosive devices there were.

I feel compelled to comment on the wholly British way London has responded to the cowardly and shameful attacks on an unsuspecting public. It's often in such unimaginable situations that the real strength of a nation shines through. We saw the fierce pride and resolve that America displayed after the tragic 9/11 attacks and how the world grieved with the American people.

The British stiff upper lip is being throughly tested today. Eye witness reports are coming in from those who were trapped underground after the explosions ripped through the underground carriages. For the most part, people remained calm, removed the odd window for ventilation and waited for the live track to be switched off before being led back to a platform where the local church was handing out cups of tea. Such an ironic display of our national stereotype brings some comfort in another wise horrific time.

I can't begin to make sense of today's attack. Seeing familiar places, such as King's Cross, swamped with emergency services leading out the walking wounded is as shocking as it is surreal. The fall-out from today's events is going to be far reaching.

For anyone who has family or friends in London, I hope they are safe and well.

July 7, 2005 | Permalink | Comments (11) | TrackBack