ryan
|
d6d431c1be
|
Add new page caps now that pages can be draft or publish. Brings page caps to parity with posts. Add delete caps for posts and pages. fixes #2382 #2336 #2301
git-svn-id: http://svn.automattic.com/wordpress/trunk@3513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-02-11 09:56:02 +00:00 |
ryan
|
9cff7433a7
|
add_role() fix from nielshackius. fixes #2298
git-svn-id: http://svn.automattic.com/wordpress/trunk@3482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-01-25 03:39:59 +00:00 |
ryan
|
515892d7ab
|
wp_roles cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-01-18 01:06:11 +00:00 |
ryan
|
d567007a42
|
Don't treat a numeric user name as an id.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-12-15 16:45:20 +00:00 |
ryan
|
2343663e0b
|
If no user is logged in, setup an empty user.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-12-13 03:46:40 +00:00 |
ryan
|
f588d966bd
|
Add read_post meta cap.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-12-13 00:54:52 +00:00 |
ryan
|
72650ed6b7
|
role_has_cap and user_has_cap filters from ringmaster. fixes #2005
git-svn-id: http://svn.automattic.com/wordpress/trunk@3296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-12-12 23:20:44 +00:00 |
ryan
|
1a44970d3a
|
Add edit_pages checks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-12-05 04:04:23 +00:00 |
ryan
|
4cc66547a3
|
Remove ugly whitespace. Props abhay. fixes #1996
git-svn-id: http://svn.automattic.com/wordpress/trunk@3250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-30 21:13:18 +00:00 |
ryan
|
ec4e918588
|
add_role() and remove_role() convenience wrappers around
git-svn-id: http://svn.automattic.com/wordpress/trunk@3249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-30 20:04:04 +00:00 |
ryan
|
b174a8dadb
|
Return role object after adding.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-30 07:32:43 +00:00 |
ryan
|
1a351ef8c0
|
Add get_role() convenience wrapper.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-29 18:47:28 +00:00 |
ryan
|
b6f44dc532
|
Pull the values in WP_User::data directly into WP_User so that we don't have to do ->data->blah.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-16 02:54:23 +00:00 |
ryan
|
34c848fb0a
|
Pass along grant state when saving cap. Props Owen. fixes #1702
git-svn-id: http://svn.automattic.com/wordpress/trunk@2904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-09-22 20:39:37 +00:00 |
ryan
|
22fb57c5c6
|
Spiffier role creation code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-09-20 23:48:28 +00:00 |
ryan
|
2ddfc1c1d6
|
remove_cap() fix from mdawaffe. fixes #1608
git-svn-id: http://svn.automattic.com/wordpress/trunk@2851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-09-08 20:39:37 +00:00 |
ryan
|
3627bffe0e
|
Capabilities fixes from the O man. fixes #1561
git-svn-id: http://svn.automattic.com/wordpress/trunk@2793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-08-20 01:37:41 +00:00 |
matt
|
4c1fa286cc
|
Setting native eol:style
git-svn-id: http://svn.automattic.com/wordpress/trunk@2735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-07-23 16:16:03 +00:00 |
matt
|
84611d5844
|
Typo was making everyone admins.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-07-23 16:14:29 +00:00 |
ryan
|
508e55acd2
|
More cap migration.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-07-15 02:16:45 +00:00 |
ryan
|
40a99fc9a1
|
Move user_can_*() functions to capabilities.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-07-15 01:27:01 +00:00 |
ryan
|
2f6ae330c0
|
Cap migration.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-07-15 01:24:08 +00:00 |
ryan
|
27174a151b
|
Fix typos in is_role() and get_userdata(). fixes #1509 Props: mdawaffe
git-svn-id: http://svn.automattic.com/wordpress/trunk@2711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-07-14 22:58:58 +00:00 |
ryan
|
a6ade4a767
|
Role/capability system. Round one. Props: Owen Winkler
git-svn-id: http://svn.automattic.com/wordpress/trunk@2703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-07-11 22:39:50 +00:00 |